Co-authored-by: Ribbon <55782009+hardBSDk@users.noreply.github.com>
This commit is contained in:
Aislan A. 2024-08-18 13:04:44 -03:00 committed by GitHub
parent 2fecde1a2a
commit 01950117f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ func movement_controller(delta):
move_dir = Vector3(
Input.get_action_strength("player_right") - Input.get_action_strength("player_left"),
0.0,
Input.get_action_strength("player_m_backward") - Input.get_action_strength("player_m_forward")
Input.get_action_strength("player_backward") - Input.get_action_strength("player_forward")
).normalized()
move_dir = move_dir.rotated(Vector3.UP, cam_pivot.rotation.y)