Fix issues

This commit is contained in:
2023-09-04 01:33:30 -07:00
parent 8eeca13607
commit 3738f24705
34 changed files with 306 additions and 159 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://jgf7k1r35km1"]
[gd_scene load_steps=7 format=3 uid="uid://jgf7k1r35km1"]
[ext_resource type="PackedScene" uid="uid://0tegxun85rq" path="res://Textures/Models/exitprotal.gltf" id="1_jebs8"]
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="2_4y188"]
[sub_resource type="Animation" id="Animation_t7yyb"]
length = 0.001
@@ -87,11 +88,24 @@ _data = {
"Spin": SubResource("Animation_y78yk")
}
[sub_resource type="CylinderShape3D" id="CylinderShape3D_v7qe0"]
height = 3.34825
radius = 1.79103
[node name="Exit Portal" instance=ExtResource("1_jebs8")]
transform = Transform3D(0.7, 0, 0, 0, 0.7, 0, 0, 0, 0.7, 0, 0, 0)
script = ExtResource("2_4y188")
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="3"]
autoplay = "Spin"
libraries = {
"": SubResource("AnimationLibrary_fkf2e")
}
[node name="Area3D" type="Area3D" parent="." index="4"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" index="0"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.11619)
shape = SubResource("CylinderShape3D_v7qe0")
[connection signal="body_entered" from="Area3D" to="." method="OnExitEntered"]