Add wall boundaries
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://btl5fdyjewnwc"]
|
||||
[gd_scene load_steps=17 format=3 uid="uid://btl5fdyjewnwc"]
|
||||
|
||||
[ext_resource type="Script" path="res://Levels/Scripts/Level3.cs" id="1_wxr87"]
|
||||
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Levels/ExitPortal.tscn" id="3_2t766"]
|
||||
@@ -55,6 +55,18 @@ size = Vector3(1.49912, 3.26269, 1.53642)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_p3qq5"]
|
||||
size = Vector3(1.49912, 3.26269, 1.53642)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_81jrh"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_jsju7"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_4jwbp"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1cve6"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[node name="Level3" type="Node3D" groups=["Level"]]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_wxr87")
|
||||
@@ -67,7 +79,6 @@ collision_mask = 16
|
||||
|
||||
[node name="Exit Portal" parent="Area3D2" instance=ExtResource("3_2t766")]
|
||||
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, -0.786783, -1.06704, -4.22407)
|
||||
_levelIndex = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.786783, -1.06704, -4.22407)
|
||||
@@ -182,5 +193,23 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.40391, 0, 0.157687)
|
||||
[node name="MeleeEnemyOrb8" parent="Enemies" instance=ExtResource("6_b7xn3")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.4263, 0, 1.29951)
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.42651, 2.71587, 0)
|
||||
shape = SubResource("BoxShape3D_81jrh")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.09294, 0, 0)
|
||||
shape = SubResource("BoxShape3D_jsju7")
|
||||
|
||||
[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.56397)
|
||||
shape = SubResource("BoxShape3D_4jwbp")
|
||||
|
||||
[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_1cve6")
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]
|
||||
[connection signal="body_entered" from="Door/Area3D" to="." method="OnDoorHit"]
|
||||
|
||||
Reference in New Issue
Block a user