feat: implement player movement controller with grounded state, stair stepping, and wall interaction mechanics

This commit is contained in:
DottsGit
2026-06-10 22:11:00 -04:00
parent def2925a43
commit da4a6442c7
4 changed files with 17 additions and 4 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ func update(delta: float) -> void:
return
# ── Wall interaction (Run, Climb, Vault) ──────────────────────────────
if machine.input_dir.length() > 0.1 and machine.wall_cooldown_timer <= 0.0:
if machine.input_dir.length() > 0.1 and machine.input_dir.y <= 0.0 and machine.wall_cooldown_timer <= 0.0:
var fwd_wall = machine.detect_wall_forward()
if fwd_wall.hit:
if fwd_wall.is_short: