diff --git a/player/camera_gimbal.gd b/player/camera_gimbal.gd index e3462cd..2f9e815 100644 --- a/player/camera_gimbal.gd +++ b/player/camera_gimbal.gd @@ -49,6 +49,8 @@ func _process(delta): else: Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) mouse_locked = false + mouse_x_velocity = 0 + mouse_y_velocity = 0 rotate_camera_y(y, delta) rotate_camera_x(x, delta)