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=5 format=3 uid="uid://col60npvg7wr1"]
[gd_scene load_steps=9 format=3 uid="uid://col60npvg7wr1"]
[ext_resource type="Script" path="res://Levels/Scripts/Level.cs" id="1_o0w6s"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Levels/ExitPortal.tscn" id="3_ehcts"]
@@ -7,6 +7,18 @@
[sub_resource type="CylinderShape3D" id="CylinderShape3D_a8pxa"]
radius = 0.957319
[sub_resource type="BoxShape3D" id="BoxShape3D_lhf45"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_g5uqx"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_7mryj"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_2edgb"]
size = Vector3(5, 20, 27.822)
[node name="Level5" type="Node3D" groups=["Level"]]
process_mode = 3
script = ExtResource("1_o0w6s")
@@ -26,4 +38,22 @@ shape = SubResource("CylinderShape3D_a8pxa")
[node name="STAGE 5" parent="." instance=ExtResource("3_yun3r")]
[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_lhf45")
[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_g5uqx")
[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_7mryj")
[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_2edgb")
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]