Hi!
As you can see in the video, when the cursor is in the zone of 90 degrees, the ship strangely rotates instantly, doing some kind of 360 flip, instead of rotating normally like it does in other areas of the screen.
This is my code:
var current_rotation : float = rotation
var target_rotation: float = get_global_mouse_position().angle_to_point(position)
rotation = lerp(current_rotation, target_rotation, smoothstep(0.0, 1.0, rotation_speed))
And this is my Sprite2D setup.