Enemy follow
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/AreaExit.cs" id="1_owv8t"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0lv8ovqkl3a6" path="res://Levels/Models/STAGE 1.blend" id="1_pwpof"]
|
||||
[ext_resource type="PackedScene" uid="uid://bt5rolsyjmx55" path="res://Scenes/MeleeEnemyOrb.tscn" id="5_dqbra"]
|
||||
[ext_resource type="PackedScene" uid="uid://jgf7k1r35km1" path="res://Scenes/ExitPortal.tscn" id="6_gegi6"]
|
||||
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="8_43upo"]
|
||||
[ext_resource type="Script" path="res://Scripts/SpawnPoint.cs" id="9_8v1uu"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_kv6vl"]
|
||||
@@ -27,10 +27,12 @@ shape = SubResource("CylinderShape3D_kv6vl")
|
||||
|
||||
[node name="P1_SpawnPoint" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.28216, 0.123258, 5.51333)
|
||||
script = ExtResource("8_43upo")
|
||||
script = ExtResource("9_8v1uu")
|
||||
|
||||
[node name="P2_SpawnPoint" type="Marker3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.78123, 0.123258, 5.51333)
|
||||
script = ExtResource("9_8v1uu")
|
||||
|
||||
[node name="MeleeEnemyOrb" parent="." instance=ExtResource("5_dqbra")]
|
||||
|
||||
[connection signal="body_entered" from="Area3D2" to="." method="OnExitEntered"]
|
||||
|
||||
Reference in New Issue
Block a user