pretty happy with basic AI behavior

This commit is contained in:
derek
2025-04-29 11:02:12 -05:00
parent ccb4781460
commit a287710a7b
10 changed files with 86 additions and 75 deletions

View File

@@ -871,7 +871,6 @@ initial_state = NodePath("Idle")
[node name="Idle" type="Node" parent="StateMachine" node_paths=PackedStringArray("enemy")]
script = ExtResource("7_cwyr0")
enemy = NodePath("../..")
can_see = true
[node name="Stunned" type="Node" parent="StateMachine" node_paths=PackedStringArray("stunned_stars", "enemy")]
script = ExtResource("8_wpql0")
@@ -887,7 +886,6 @@ metadata/_custom_type_script = "uid://dhxolagi0b5s1"
script = ExtResource("10_gicen")
alarm_sound = NodePath("../../AUIDO/Alarm")
enemy = NodePath("../..")
can_see = true
[node name="Reload" type="Node" parent="StateMachine" node_paths=PackedStringArray("reload_sound", "enemy")]
script = ExtResource("11_ekglj")
@@ -983,11 +981,6 @@ top_level = true
target_position = Vector3(0, 0, -50)
collision_mask = 5
[node name="SpiderLookNext" type="RayCast3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00161432, 1.62046, 0.00134204)
target_position = Vector3(0, 0, -50)
collision_mask = 5
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
root_node = NodePath("../Icosphere_002")
libraries = {