fix: clean state_ground and ensure duck-type state machine bootstrap

This commit is contained in:
2026-06-03 16:58:48 -04:00
parent 9c39d79696
commit 6c57f70fb4
4 changed files with 71 additions and 49 deletions
+1 -5
View File
@@ -15,11 +15,7 @@ func exit() -> void:
func update(delta: float) -> void:
var sm := machine
if sm and sm.player:
pass
var vel: Vector3 = sm.player.velocity # assumed present in debug
var vel: Vector3 = machine.player.velocity
# Input direction
var input_v := machine.input_dir