added building blocks for door walls
This commit is contained in:
parent
620b51ddca
commit
86707a4c70
52
Level/Buildings/DoorWall.tscn
Normal file
52
Level/Buildings/DoorWall.tscn
Normal file
@ -0,0 +1,52 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Level/Interactables/Door/Door.tscn" type="PackedScene" id=1]
|
||||
|
||||
[sub_resource type="CubeMesh" id=1]
|
||||
|
||||
[sub_resource type="BoxShape" id=2]
|
||||
|
||||
[node name="DoorWall" type="Spatial"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2 )
|
||||
|
||||
[node name="WallPart1" type="StaticBody" parent="."]
|
||||
editor/display_folded = true
|
||||
transform = Transform( 2, 0, 0, 0, 1.5, 0, 0, 0, 0.2, -4, 1.5, 0 )
|
||||
collision_layer = 3
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="WallPart1"]
|
||||
layers = 3
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = null
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="WallPart1"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="WallPart2" type="StaticBody" parent="."]
|
||||
editor/display_folded = true
|
||||
transform = Transform( 3, 0, 0, 0, 1.5, 0, 0, 0, 0.2, 3, 1.5, 0 )
|
||||
collision_layer = 3
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="WallPart2"]
|
||||
layers = 3
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = null
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="WallPart2"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="WallPart3" type="StaticBody" parent="."]
|
||||
editor/display_folded = true
|
||||
transform = Transform( 6, 0, 0, 0, 1, 0, 0, 0, 0.2, 0, 4, 0 )
|
||||
collision_layer = 3
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="WallPart3"]
|
||||
layers = 3
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = null
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="WallPart3"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="Door" parent="." instance=ExtResource( 1 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.5, 0 )
|
56
Level/Buildings/DoubleDoorWall.tscn
Normal file
56
Level/Buildings/DoubleDoorWall.tscn
Normal file
@ -0,0 +1,56 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Level/Interactables/Door/Door.tscn" type="PackedScene" id=1]
|
||||
|
||||
[sub_resource type="CubeMesh" id=1]
|
||||
|
||||
[sub_resource type="BoxShape" id=2]
|
||||
|
||||
[node name="DoubleDoorWall" type="Spatial"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2 )
|
||||
|
||||
[node name="WallPart1" type="StaticBody" parent="."]
|
||||
editor/display_folded = true
|
||||
transform = Transform( 2, 0, 0, 0, 1.5, 0, 0, 0, 0.2, -4, 1.5, 0 )
|
||||
collision_layer = 3
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="WallPart1"]
|
||||
layers = 3
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = null
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="WallPart1"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="WallPart2" type="StaticBody" parent="."]
|
||||
editor/display_folded = true
|
||||
transform = Transform( 2, 0, 0, 0, 1.5, 0, 0, 0, 0.2, 4, 1.5, 0 )
|
||||
collision_layer = 3
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="WallPart2"]
|
||||
layers = 3
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = null
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="WallPart2"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="WallPart3" type="StaticBody" parent="."]
|
||||
editor/display_folded = true
|
||||
transform = Transform( 6, 0, 0, 0, 1, 0, 0, 0, 0.2, 0, 4, 0 )
|
||||
collision_layer = 3
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="WallPart3"]
|
||||
layers = 3
|
||||
mesh = SubResource( 1 )
|
||||
material/0 = null
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="WallPart3"]
|
||||
shape = SubResource( 2 )
|
||||
|
||||
[node name="Door" parent="." instance=ExtResource( 1 )]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.5, 0 )
|
||||
|
||||
[node name="Door2" parent="." instance=ExtResource( 1 )]
|
||||
transform = Transform( -1, 0, -8.74228e-008, 0, 1, 0, 8.74228e-008, 0, -1, 2, 1.5, 0 )
|
||||
invert_open = true
|
Loading…
x
Reference in New Issue
Block a user