Add wall boundaries
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dqv03pua4j8ga"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://dqv03pua4j8ga"]
|
||||
|
||||
[ext_resource type="Script" path="res://Levels/Scripts/Level.cs" id="1_k32xj"]
|
||||
[ext_resource type="PackedScene" uid="uid://dahp73fwld24h" path="res://Enemies/RangedEnemy.tscn" id="2_fyxib"]
|
||||
@@ -9,8 +9,21 @@
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_kv6vl"]
|
||||
radius = 0.957319
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hxepo"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_a01sw"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_vtgsw"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hcwif"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[node name="Level1" type="Node3D" groups=["Level"]]
|
||||
process_mode = 3
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.158514, 0)
|
||||
script = ExtResource("1_k32xj")
|
||||
|
||||
[node name="Area3D2" type="Area3D" parent="." groups=["Level"]]
|
||||
@@ -60,4 +73,27 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08228, 0, -0.694794)
|
||||
[node name="RangedEnemy6" parent="Enemies" instance=ExtResource("2_fyxib")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.78224, 0, -0.525299)
|
||||
|
||||
[node name="Camera3D3" type="Camera3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.5, 0.866025, 0, -0.866025, 0.5, -0.527878, 10.966, 6.61121)
|
||||
projection = 1
|
||||
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.52066, 2.71587, 0)
|
||||
shape = SubResource("BoxShape3D_hxepo")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.4847, 0, 0)
|
||||
shape = SubResource("BoxShape3D_a01sw")
|
||||
|
||||
[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.0292)
|
||||
shape = SubResource("BoxShape3D_vtgsw")
|
||||
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 8.54801)
|
||||
shape = SubResource("BoxShape3D_hcwif")
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="Area3D2/Exit Portal" method="OnExitEntered"]
|
||||
|
||||
Reference in New Issue
Block a user