Add wall boundaries

This commit is contained in:
2023-09-06 20:53:38 -07:00
parent 8a923f04c4
commit 379ef0189c
9 changed files with 298 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://8ukphol1isp2"]
[gd_scene load_steps=8 format=3 uid="uid://8ukphol1isp2"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Levels/ExitPortal.tscn" id="3_0wdh0"]
[ext_resource type="PackedScene" uid="uid://dldy6w23fyr5t" path="res://Levels/Models/Stage6/Stage6.tscn" id="3_ajkvk"]
@@ -6,6 +6,18 @@
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wu0in"]
radius = 0.957319
[sub_resource type="BoxShape3D" id="BoxShape3D_ismub"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_f5ly1"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_ovwgx"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_1rqjd"]
size = Vector3(5, 20, 27.822)
[node name="Level6" type="Node3D" groups=["Level"]]
process_mode = 3
@@ -24,4 +36,22 @@ shape = SubResource("CylinderShape3D_wu0in")
[node name="STAGE 6" parent="." instance=ExtResource("3_ajkvk")]
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.52066, 2.71587, 0)
shape = SubResource("BoxShape3D_ismub")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.39414, 0, 0)
shape = SubResource("BoxShape3D_f5ly1")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 2.43488, -8.5122)
shape = SubResource("BoxShape3D_ovwgx")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 9.03101)
shape = SubResource("BoxShape3D_1rqjd")
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]