I am trying to make a simple application that turns a character to look at a vector relative to it’s current position.
The rotation value ranges from 0 – 180 and -180 – 0.
Math is not my strong point and I’d appreciate it if C# code examples could be explained, I need a value to set into the rotation variable in the ranges mentioned above.
Use the
Atan2()function to convert relative x, y position into angles