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=59 format=3 uid="uid://ctvkevnc0wxka"]
[gd_scene load_steps=64 format=3 uid="uid://ctvkevnc0wxka"]
[ext_resource type="Script" path="res://Levels/Scripts/Level.cs" id="1_gkcpw"]
[ext_resource type="Texture2D" uid="uid://c2uop8t70xt1r" path="res://Levels/Models/Stage4/STAGE 4_hakkero.png" id="3_h8wly"]
@@ -762,6 +762,21 @@ _data = {
"Animation": SubResource("Animation_ikspf")
}
[sub_resource type="BoxShape3D" id="BoxShape3D_7qgo5"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_ooasb"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_aaw7g"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_omips"]
size = Vector3(5, 20, 27.822)
[sub_resource type="BoxShape3D" id="BoxShape3D_5qrun"]
size = Vector3(3.244, 10, 3.17)
[node name="Level4" type="Node3D" groups=["Level"]]
process_mode = 3
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.505, -0.358024, 1.095)
@@ -883,4 +898,31 @@ libraries = {
"": SubResource("AnimationLibrary_aovvl")
}
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.22039)
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.01032, 2.71587, 0)
shape = SubResource("BoxShape3D_7qgo5")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.81573, 0, 0)
shape = SubResource("BoxShape3D_ooasb")
[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_aaw7g")
[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_omips")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.93058, -2.24614, -4.79498)
shape = SubResource("BoxShape3D_5qrun")
[node name="CollisionShape3D6" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.67572, -2.24614, -4.79498)
shape = SubResource("BoxShape3D_5qrun")
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]