fix state and make animations loop, refactoring animals ai

This commit is contained in:
2026-05-24 18:37:59 +02:00
parent 36dd5631ea
commit 3f5e6309fa
21 changed files with 135 additions and 51 deletions

View File

@@ -20,6 +20,6 @@ script = ExtResource("3_8d0tj")
state_id = &"patrol"
next_state_id = &"idle"
animation_name = "custom/walking"
wait_time = 0.0
exit_on_action_finished = true
[editable path="HumanMannequin"]

View File

@@ -14,7 +14,7 @@ script = ExtResource("3_2oda6")
state_id = &"patrol"
next_state_id = &"gather"
animation_name = "custom/walking"
wait_time = 0.0
exit_on_action_finished = true
[node name="GatherState" type="Node" parent="StateMachine" index="1" unique_id=48091671]
script = ExtResource("4_2oda6")
@@ -22,6 +22,5 @@ state_id = &"gather"
next_state_id = &"patrol"
animation_name = "custom/gather"
exit_on_animation_finished = true
wait_time = 1.0
[editable path="HumanMannequin"]

Binary file not shown.

Binary file not shown.

Binary file not shown.