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://bsq7edeueqyjg"]
[gd_scene load_steps=8 format=3 uid="uid://bsq7edeueqyjg"]
[ext_resource type="PackedScene" uid="uid://bgf5byqt71kir" path="res://Levels/Models/Stage7/Stage7.tscn" id="2_21i6n"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Levels/ExitPortal.tscn" id="3_sjnhq"]
@@ -6,6 +6,18 @@
[sub_resource type="CylinderShape3D" id="CylinderShape3D_a56hv"]
radius = 0.957319
[sub_resource type="BoxShape3D" id="BoxShape3D_ny8q1"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_3bvlx"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_xgagj"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_cxjq3"]
size = Vector3(5, 20, 27.822)
[node name="Level7" type="Node3D" groups=["Level"]]
process_mode = 3
@@ -17,7 +29,6 @@ collision_mask = 16
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_sjnhq")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0.0799288, -1.92508)
_levelIndex = 6
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.11323, -2.51823)
@@ -32,4 +43,22 @@ projection = 1
current = true
size = 10.8546
[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.80235, 2.71587, 0)
shape = SubResource("BoxShape3D_ny8q1")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.61603, 0, 0)
shape = SubResource("BoxShape3D_3bvlx")
[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.7119)
shape = SubResource("BoxShape3D_xgagj")
[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.24233)
shape = SubResource("BoxShape3D_cxjq3")
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]