Added basic four wall room

visuals
jonathan 3 months ago
parent e57c33fb44
commit d583779e68

@ -0,0 +1,86 @@
[gd_scene load_steps=5 format=3 uid="uid://j70vfwwtwr3j"]
[sub_resource type="BoxMesh" id="BoxMesh_tsdft"]
size = Vector3(4, 0.2, 4)
[sub_resource type="BoxShape3D" id="BoxShape3D_55ev5"]
size = Vector3(4, 0.2, 4)
[sub_resource type="BoxMesh" id="BoxMesh_pbmth"]
size = Vector3(0.2, 2, 4)
[sub_resource type="BoxShape3D" id="BoxShape3D_wh4xk"]
size = Vector3(0.2, 2, 4)
[node name="TrailerRoom" type="Node3D"]
[node name="StaticEnvironment" type="Node3D" parent="."]
[node name="Floor" type="Node3D" parent="StaticEnvironment"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, -2)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticEnvironment/Floor"]
mesh = SubResource("BoxMesh_tsdft")
[node name="StaticBody3D" type="StaticBody3D" parent="StaticEnvironment/Floor"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Floor/StaticBody3D"]
shape = SubResource("BoxShape3D_55ev5")
[node name="Ceiling" type="Node3D" parent="StaticEnvironment"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 2, -2)
visible = false
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticEnvironment/Ceiling"]
mesh = SubResource("BoxMesh_tsdft")
[node name="StaticBody3D" type="StaticBody3D" parent="StaticEnvironment/Ceiling"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Ceiling/StaticBody3D"]
shape = SubResource("BoxShape3D_55ev5")
[node name="Walls" type="Node3D" parent="StaticEnvironment"]
[node name="Wall1" type="Node3D" parent="StaticEnvironment/Walls"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -2)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticEnvironment/Walls/Wall1"]
mesh = SubResource("BoxMesh_pbmth")
[node name="StaticBody3D" type="StaticBody3D" parent="StaticEnvironment/Walls/Wall1"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Walls/Wall1/StaticBody3D"]
shape = SubResource("BoxShape3D_wh4xk")
[node name="Wall2" type="Node3D" parent="StaticEnvironment/Walls"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 1, -2)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticEnvironment/Walls/Wall2"]
mesh = SubResource("BoxMesh_pbmth")
[node name="StaticBody3D" type="StaticBody3D" parent="StaticEnvironment/Walls/Wall2"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Walls/Wall2/StaticBody3D"]
shape = SubResource("BoxShape3D_wh4xk")
[node name="Wall3" type="Node3D" parent="StaticEnvironment/Walls"]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2, 1, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticEnvironment/Walls/Wall3"]
mesh = SubResource("BoxMesh_pbmth")
[node name="StaticBody3D" type="StaticBody3D" parent="StaticEnvironment/Walls/Wall3"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Walls/Wall3/StaticBody3D"]
shape = SubResource("BoxShape3D_wh4xk")
[node name="Wall4" type="Node3D" parent="StaticEnvironment/Walls"]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 1.9999999, 1, -4)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticEnvironment/Walls/Wall4"]
mesh = SubResource("BoxMesh_pbmth")
[node name="StaticBody3D" type="StaticBody3D" parent="StaticEnvironment/Walls/Wall4"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticEnvironment/Walls/Wall4/StaticBody3D"]
shape = SubResource("BoxShape3D_wh4xk")
Loading…
Cancel
Save