feat: implement modular state-based player movement system with chain mechanics
This commit is contained in:
@@ -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) ───
|
||||
|
||||
Reference in New Issue
Block a user