ft: predator mostly done

This commit is contained in:
djaidjai committed 2026-02-06 12:43:37 +01:00
1 parent 5f9a2fffb9
commit 8ee70854ea
16 files changed
+271 -30

No files matched your search

@@ -8,7 +8,7 @@ func enter(previous_state_path: String, data := {}) -> void:
threat = data["threat"]
else:
# default behaviour; do nothing
threat = owner
finished.emit(owner.fsm.States.IDLE, {})
func physics_update(_delta: float) -> void:
if owner.position.distance_to(threat.position) > threshold or threat == owner:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.