How to properly rotate 2D nodes?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By PerduGames
:warning: Old Version Published before Godot 3 was released.

I’m having difficulty rotating the objects, because when I finally realize my code is already with millions of rules that I do not understand anymore, because something always does not go as expected, I’m using “set_rot” would be the best way? I do not understand, when I rotate in the editor I see one way, during another’s game.

:bust_in_silhouette: Reply From: bruteforce

The set_rot method expects a radian value, the editor works with degree.
Try the set_rotd/get_rotd functions, or use radians in your code!