Enable stage collisions
This commit is contained in:
@@ -65,7 +65,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08228, 0, -0.694794)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.78224, 0, -0.525299)
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
|
||||
@@ -75,7 +75,6 @@ MaximumHP = 10000000
|
||||
_healthBar = NodePath("../../FinalBossGUI/TextureProgressBar")
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
|
||||
@@ -78,23 +78,22 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.12321, -0.521506, -1.78045)
|
||||
[node name="RangedEnemy8" parent="Enemies" instance=ExtResource("3_hfsy3")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.2018, -0.521506, -0.0385171)
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 0
|
||||
[node name="Collisions" type="StaticBody3D" parent="."]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.52066, 2.71587, 0)
|
||||
shape = SubResource("BoxShape3D_pdbhu")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.39414, 0, 0)
|
||||
shape = SubResource("BoxShape3D_krx21")
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 2.43488, -8.5122)
|
||||
shape = SubResource("BoxShape3D_xkc5v")
|
||||
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 9.03101)
|
||||
shape = SubResource("BoxShape3D_xtojv")
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -900,7 +900,6 @@ libraries = {
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.22039)
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
|
||||
@@ -1,28 +1,30 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://8ukphol1isp2"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://col60npvg7wr1"]
|
||||
|
||||
[ext_resource type="Script" path="res://Levels/Scripts/Level.cs" id="1_ri27i"]
|
||||
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Levels/ExitPortal.tscn" id="3_0wdh0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dldy6w23fyr5t" path="res://Levels/Models/Stage6/Stage6.tscn" id="3_ajkvk"]
|
||||
[ext_resource type="PackedScene" uid="uid://cy07ovg33vws6" path="res://Levels/Models/Stage5/Stage5.tscn" id="3_2gs3j"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wu0in"]
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_a8pxa"]
|
||||
radius = 0.957319
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ismub"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_lhf45"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_f5ly1"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_g5uqx"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ovwgx"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7mryj"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1rqjd"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_2edgb"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[node name="Level6" type="Node3D" groups=["Level"]]
|
||||
[node name="Level5" type="Node3D" groups=["Level"]]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_ri27i")
|
||||
|
||||
[node name="Area3D2" type="Area3D" parent="." groups=["Level"]]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.94617, 0, -1.55156)
|
||||
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, -0.0656219, 0, -3.04094)
|
||||
disable_mode = 2
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
@@ -31,29 +33,28 @@ collision_mask = 0
|
||||
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, -2.53252)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.07326, -2.51823)
|
||||
shape = SubResource("CylinderShape3D_wu0in")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.02346, -2.51823)
|
||||
shape = SubResource("CylinderShape3D_a8pxa")
|
||||
|
||||
[node name="STAGE 6" parent="." instance=ExtResource("3_ajkvk")]
|
||||
[node name="STAGE 5" parent="." instance=ExtResource("3_2gs3j")]
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 0
|
||||
|
||||
[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_ismub")
|
||||
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_f5ly1")
|
||||
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_ovwgx")
|
||||
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_1rqjd")
|
||||
shape = SubResource("BoxShape3D_2edgb")
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bsq7edeueqyjg"]
|
||||
[gd_scene load_steps=11 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"]
|
||||
@@ -18,6 +18,15 @@ size = Vector3(5, 20, 27.822)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_cxjq3"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_ge4e2"]
|
||||
size = Vector3(2.77053, 2.8924, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gjm78"]
|
||||
size = Vector3(1, 2.90644, 1.7)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_tj084"]
|
||||
size = Vector3(4.32001, 3, 4.24331)
|
||||
|
||||
[node name="Level7" type="Node3D" groups=["Level"]]
|
||||
process_mode = 3
|
||||
|
||||
@@ -37,24 +46,47 @@ shape = SubResource("CylinderShape3D_a56hv")
|
||||
[node name="STAGE 7" parent="." instance=ExtResource("2_21i6n")]
|
||||
transform = Transform3D(1.04, 0, 0, 0, 1.04, 0, 0, 0, 1.04, -0.601425, 0, 0)
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 0
|
||||
[node name="Collisions" type="StaticBody3D" parent="."]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collisions"]
|
||||
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"]
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collisions"]
|
||||
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"]
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collisions"]
|
||||
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"]
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 9.24233)
|
||||
shape = SubResource("BoxShape3D_cxjq3")
|
||||
|
||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.89436, 0.680679, 3.12594)
|
||||
shape = SubResource("BoxShape3D_ge4e2")
|
||||
|
||||
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.60186, 0.680679, 3.12594)
|
||||
shape = SubResource("BoxShape3D_ge4e2")
|
||||
|
||||
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.05087, 0.680679, 2.12594)
|
||||
shape = SubResource("BoxShape3D_gjm78")
|
||||
|
||||
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.83834, 0.680679, 2.12594)
|
||||
shape = SubResource("BoxShape3D_gjm78")
|
||||
|
||||
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.94626, -0.500153, -4.0788)
|
||||
shape = SubResource("BoxShape3D_tj084")
|
||||
|
||||
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.2062, -0.500153, -4.0788)
|
||||
shape = SubResource("BoxShape3D_tj084")
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://c4xcka4ekuur8"]
|
||||
[gd_scene load_steps=12 format=3 uid="uid://c4xcka4ekuur8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b6ciyf30f07ll" path="res://Levels/Models/Stage8/STAGE 8.glb" id="2_wcvbl"]
|
||||
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Levels/ExitPortal.tscn" id="3_44edv"]
|
||||
@@ -15,9 +15,21 @@ size = Vector3(5, 20, 27.822)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_gb7u1"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_yia8d"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_xm3ae"]
|
||||
size = Vector3(5, 20, 27.822)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_53dlo"]
|
||||
size = Vector3(8.31406, 11.3263, 1.28984)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_skfbp"]
|
||||
size = Vector3(5.53526, 11.3263, 1.28984)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_eif41"]
|
||||
size = Vector3(3.8611, 11.3263, 1.28984)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_vmmcb"]
|
||||
size = Vector3(1, 2.48491, 2.18519)
|
||||
|
||||
[node name="Level8" type="Node3D" groups=["Level"]]
|
||||
process_mode = 3
|
||||
|
||||
@@ -36,24 +48,43 @@ shape = SubResource("CylinderShape3D_3ne7n")
|
||||
|
||||
[node name="STAGE 8" parent="." instance=ExtResource("2_wcvbl")]
|
||||
|
||||
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
||||
collision_layer = 0
|
||||
[node name="Collisions" type="StaticBody3D" parent="."]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.52066, 2.71587, 0)
|
||||
shape = SubResource("BoxShape3D_3n0wx")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.39414, 0, 0)
|
||||
shape = SubResource("BoxShape3D_bimq8")
|
||||
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 2.43488, -8.5122)
|
||||
shape = SubResource("BoxShape3D_gb7u1")
|
||||
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 9.03101)
|
||||
shape = SubResource("BoxShape3D_yia8d")
|
||||
shape = SubResource("BoxShape3D_xm3ae")
|
||||
|
||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.01915, 0, 3.9733)
|
||||
shape = SubResource("BoxShape3D_53dlo")
|
||||
|
||||
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.828593, 0, 1.31948)
|
||||
shape = SubResource("BoxShape3D_53dlo")
|
||||
|
||||
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.39582, 0, -0.803743)
|
||||
shape = SubResource("BoxShape3D_skfbp")
|
||||
|
||||
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.875, 0, -2.72859)
|
||||
shape = SubResource("BoxShape3D_eif41")
|
||||
|
||||
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collisions"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.89654, 0.175385, -2.12349)
|
||||
shape = SubResource("BoxShape3D_vmmcb")
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user