feat: package pantry crisis demo

This commit is contained in:
Rijad Zuzo
2026-07-16 00:37:59 +02:00
parent c23f6887c8
commit f82d9683de
12 changed files with 621 additions and 21 deletions
+11
View File
@@ -327,6 +327,17 @@ func set_target_position(pos: Vector3) -> void:
debug_log("New target: %s Path points: %s" % [pos, current_path.size()])
func stop_travel() -> void:
path_request_id += 1
current_path = PackedVector3Array()
path_index = 0
current_target = Vector3.INF
path_pending = false
has_reported_arrival = true
stuck_time = 0.0
velocity = Vector3.ZERO
func _physics_process(delta: float) -> void:
if is_dead_visual:
velocity = Vector3.ZERO