Fixed camera sway framerate issue

pull/7/head
Kenney 2023-10-05 01:08:19 +07:00
parent 8d4289546f
commit 44334edba0
1 changed files with 1 additions and 1 deletions

@ -71,7 +71,7 @@ func _physics_process(delta):
# Rotation
camera.rotation.z = lerp_angle(camera.rotation.z, -input_mouse.x * 1.25, delta * 5)
camera.rotation.z = lerp_angle(camera.rotation.z, -input_mouse.x * 25 * delta, delta * 5)
camera.rotation.x = lerp_angle(camera.rotation.x, rotation_target.x, delta * 25)
rotation.y = lerp_angle(rotation.y, rotation_target.y, delta * 25)