Fixed acceleration not matching direction

This commit is contained in:
2026-10-19 21:27:46 -05:00
parent 686bc22949
commit fde10d8e80
3 changed files with 11 additions and 20 deletions
+1
View File
@@ -32,6 +32,7 @@ func _physics_process(delta: float) -> void:
if action:
control_frame.do_action(action, delta, self)
velocity = -transform.basis.z * control_frame.speed
move_and_slide()
#func _unhandled_input(event: InputEvent) -> void: