Trying to fix spawn issues

This commit is contained in:
2023-09-04 17:22:02 -07:00
parent ad48e723d5
commit 316651f409
17 changed files with 88 additions and 148 deletions

View File

@@ -1,35 +1,28 @@
[gd_scene load_steps=5 format=3 uid="uid://btl5fdyjewnwc"]
[gd_scene load_steps=4 format=3 uid="uid://btl5fdyjewnwc"]
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="3_2t766"]
[ext_resource type="PackedScene" uid="uid://6w3upp7ln4i4" path="res://Levels/Final Levels/Stage3/Stage3.tscn" id="3_gd7oi"]
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="5_kc2wt"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_j26hn"]
radius = 0.957319
[node name="Level3" type="Node3D" groups=["Level"]]
process_mode = 3
[node name="Area3D2" type="Area3D" parent="." groups=["Level"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.67434)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.993156, -1.67434)
disable_mode = 2
collision_layer = 0
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, 0, -2.53252)
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, -1.06704, -2.53252)
_levelIndex = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D2"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -2.51823)
shape = SubResource("CylinderShape3D_j26hn")
[node name="P1_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.503964, 0.123258, 5.51333)
script = ExtResource("5_kc2wt")
[node name="P2_SpawnPoint" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3999, 0.123258, 5.51333)
script = ExtResource("5_kc2wt")
[node name="STAGE 3" parent="." instance=ExtResource("3_gd7oi")]
transform = Transform3D(1.09, 0, 0, 0, 1.09, 0, 0, 0, 1.09, 0, 0, -0.528128)