feat: implement modular state-based player movement system with chain mechanics

This commit is contained in:
DottsGit
2026-06-04 10:26:18 -04:00
parent cb04df1df3
commit a86ef53622
6 changed files with 2 additions and 11 deletions
-2
View File
@@ -58,8 +58,6 @@ func update(delta: float) -> void:
var speed := params.walk_speed
if machine.input_crouch:
speed = params.crouch_speed
elif machine.input_sprint and wish_dir.length_squared() > 0.01:
speed = params.sprint_speed
var effective_speed := machine.get_effective_speed(speed)
# ── Horizontal movement (exponential interpolation for smoothness) ───