You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
143 lines
6.1 KiB
143 lines
6.1 KiB
[gd_scene load_steps=11 format=3 uid="uid://bwfuet1irfi17"] |
|
|
|
[ext_resource type="Script" path="res://objects/Grid.cs" id="2_gstd0"] |
|
[ext_resource type="PackedScene" uid="uid://yvy5vvaqgxy8" path="res://objects/crate.tscn" id="2_j6a20"] |
|
[ext_resource type="Texture2D" uid="uid://dts3g3ivc4stn" path="res://assets/palettes/metal.png" id="3_kvstu"] |
|
[ext_resource type="PackedScene" uid="uid://ccprmftodum0o" path="res://objects/nail.tscn" id="4_6l6v6"] |
|
[ext_resource type="PackedScene" uid="uid://bjgfm5x7a0dab" path="res://objects/bolt.tscn" id="5_r6ljd"] |
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_vkl3b"] |
|
size = Vector3(2, 0.1, 1) |
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_548mk"] |
|
size = Vector3(2, 0.1, 1) |
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_efbik"] |
|
size = Vector3(0.1, 0.9, 0.1) |
|
|
|
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_5erfn"] |
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_tg4vq"] |
|
size = Vector2(10, 10) |
|
|
|
[node name="Workshop" type="Node3D"] |
|
|
|
[node name="Sun" type="DirectionalLight3D" parent="."] |
|
transform = Transform3D(0.866025, 0, -0.5, 0.25, 0.866025, 0.433013, 0.433013, -0.5, 0.75, 0, 5, 0) |
|
|
|
[node name="Crates" type="Node3D" parent="."] |
|
|
|
[node name="Crate1" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, -4) |
|
Palette = ExtResource("3_kvstu") |
|
|
|
[node name="Crate2" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, 0) |
|
|
|
[node name="Crate3" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.5, 4) |
|
|
|
[node name="Crate4" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 4) |
|
|
|
[node name="Crate5" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, 4) |
|
|
|
[node name="Crate6" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, 0) |
|
|
|
[node name="Crate7" parent="Crates" instance=ExtResource("2_j6a20")] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4, 0.5, -4) |
|
|
|
[node name="Table" type="StaticBody3D" parent="."] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -4) |
|
collision_layer = 2 |
|
collision_mask = 0 |
|
|
|
[node name="Grid" type="Area3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) |
|
collision_layer = 8 |
|
collision_mask = 0 |
|
script = ExtResource("2_gstd0") |
|
GridSize = Vector2i(38, 18) |
|
|
|
[node name="Nail" parent="Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(-4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -0.75, 0.025, 0.225) |
|
|
|
[node name="Nail2" parent="Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(1.31134e-07, 1, 4.37114e-08, 0, -4.37114e-08, 1, 1, -1.31134e-07, -5.73206e-15, -0.75, 0.025, 0.175) |
|
|
|
[node name="Nail3" parent="Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(-4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -0.75, 0.025, 0.125) |
|
|
|
[node name="Nail4" parent="Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(1.31134e-07, 1, 4.37114e-08, 0, -4.37114e-08, 1, 1, -1.31134e-07, -5.73206e-15, -0.75, 0.025, 0.075) |
|
|
|
[node name="Nail5" parent="Table/Grid" instance=ExtResource("4_6l6v6")] |
|
transform = Transform3D(-4.37114e-08, -1, -4.37114e-08, 0, -4.37114e-08, 1, -1, 4.37114e-08, 1.91069e-15, -0.75, 0.025, 0.025) |
|
|
|
[node name="Bolt" parent="Table/Grid" instance=ExtResource("5_r6ljd")] |
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, -0.025, 0.025, 0.3) |
|
|
|
[node name="Bolt2" parent="Table/Grid" instance=ExtResource("5_r6ljd")] |
|
transform = Transform3D(-1, 8.74228e-08, 3.82137e-15, 0, -4.37114e-08, 1, 8.74228e-08, 1, 4.37114e-08, 0.025, 0.025, 0.3) |
|
|
|
[node name="Bolt3" parent="Table/Grid" instance=ExtResource("5_r6ljd")] |
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0.075, 0.025, 0.3) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0) |
|
shape = SubResource("BoxShape3D_vkl3b") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0) |
|
mesh = SubResource("BoxMesh_548mk") |
|
|
|
[node name="Leg1" type="MeshInstance3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, 0.45, 0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Leg2" type="MeshInstance3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9, 0.45, 0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Leg3" type="MeshInstance3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.9, 0.45, -0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Leg4" type="MeshInstance3D" parent="Table"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9, 0.45, -0.4) |
|
mesh = SubResource("BoxMesh_efbik") |
|
skeleton = NodePath("../MeshInstance3D") |
|
|
|
[node name="Table2" type="StaticBody3D" parent="."] |
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 1.5, -4.6) |
|
collision_layer = 2 |
|
collision_mask = 0 |
|
|
|
[node name="Grid" type="Area3D" parent="Table2"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0999999, 0) |
|
collision_layer = 8 |
|
collision_mask = 0 |
|
script = ExtResource("2_gstd0") |
|
GridSize = Vector2i(38, 18) |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Table2"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0499997, 0) |
|
shape = SubResource("BoxShape3D_vkl3b") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Table2"] |
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0499997, 0) |
|
mesh = SubResource("BoxMesh_548mk") |
|
|
|
[node name="Floor" type="StaticBody3D" parent="."] |
|
collision_mask = 0 |
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"] |
|
shape = SubResource("WorldBoundaryShape3D_5erfn") |
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"] |
|
mesh = SubResource("PlaneMesh_tg4vq")
|
|
|