mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:15:33 +00:00
Capacitor and models
This commit is contained in:
parent
29299d634e
commit
dbd2899d69
36 changed files with 3811 additions and 539 deletions
14
3D/Scenes/Props/Capacitor_3D.tscn
Normal file
14
3D/Scenes/Props/Capacitor_3D.tscn
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://wh668b8ospcb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d3oxa3rnu6wlx" path="res://3D/BlockbenchModels/Capacitor/Capacitor.gltf" id="1_822ps"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.796058, 1.47291, 0.740692)
|
||||
|
||||
[node name="Capacitor" type="StaticBody3D"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00640631, 0.29627, 0.0265655)
|
||||
shape = SubResource("BoxShape3D_hsg1w")
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("1_822ps")]
|
||||
|
|
@ -21,8 +21,6 @@ script = ExtResource("1_buenw")
|
|||
Elevator = NodePath("PathFollow3D")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0)
|
||||
h_offset = 0.5
|
||||
rotation_mode = 0
|
||||
loop = false
|
||||
script = ExtResource("1_sjscu")
|
||||
|
|
@ -34,7 +32,6 @@ update_rotation = false
|
|||
update_scale = false
|
||||
|
||||
[node name="Elevator" parent="." instance=ExtResource("2_buenw")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0)
|
||||
|
||||
[node name="AreaTrigger3d" parent="Elevator" node_paths=PackedStringArray("Target") instance=ExtResource("3_tekpv")]
|
||||
Target = NodePath("../../PathFollow3D")
|
||||
|
|
|
|||
|
|
@ -1,26 +1,14 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://cq6tw87ei4by3"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cq6tw87ei4by3"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cyq6f1n0nrgrs" path="res://Sprites/Elevator.png" id="1_0vufj"]
|
||||
[ext_resource type="PackedScene" uid="uid://b1wjcu2arov4n" path="res://3D/BlockbenchModels/Elevator/Elevator.gltf" id="1_0vufj"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_0vufj"]
|
||||
size = Vector3(2.05377, 0.101501, 2.00244)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wl3wm"]
|
||||
albedo_texture = ExtResource("1_0vufj")
|
||||
uv1_offset = Vector3(0.5, 0, 0.5)
|
||||
uv1_triplanar = true
|
||||
texture_filter = 0
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_wl3wm"]
|
||||
material = SubResource("StandardMaterial3D_wl3wm")
|
||||
|
||||
[node name="Elevator" type="AnimatableBody3D"]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00820923, 0.0038147, -0.000732422)
|
||||
shape = SubResource("BoxShape3D_0vufj")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(2.02302, 0, 0, 0, 0.1, 0, 0, 0, 2.00486, 0, 0, 0)
|
||||
mesh = SubResource("BoxMesh_wl3wm")
|
||||
skeleton = NodePath("../..")
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("1_0vufj")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue