|Topic was automatically imported from the old Question2Answer platform.
In this image, which can be found in the
Node2D docs for
get_angle_to(), the rotation seems to point in a direction, but
rotation is only a float, so when
rotation is 0, where does this point?
Nowhere, rotation is not a direction. You can pick any starting angle and consider the rotation from there.
But in mathematics, when it comes to a unit circle, If I recall correctly it is pointing to the right by default.
And even on this picture, as you can see, Node2D.rotation is relative to the positive side of the x axis (right).
zhyrin | 2023-06-30 06:46