![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | CodeOrange |
I need to get the direction of a 2D object in a Vector2. For example, if it has no rotation, it would be 0.0, 1.0 and if it’s rotated 90 degrees (facing to the right), it would be 0.0, 1.0. I am fairly new to Godot, but in I know that Unity has a feature for this called transform.up. Is there a way to do this in Godot? Thanks!