neikeq/GodotSharp

Vector2.rotated inconsistent behavior

Xydium opened this issue · 0 comments

The rotated method in C# is behaving differently from the rotated method in GDScript.

new Vector2(0, 1).rotated(Mathf.PI / 2) -> (0, -1)

Rotating 90 degrees is behaving as a 180 degree rotation.