Answer the question
In order to leave comments, you need to log in
How to get the angle of rotation to a point?
Hello, I need to get the angle of rotation to a point (what degree you need to turn to look directly at it) in the range [0, 360] (counting clockwise).
You need to get:
1) A point that lies opposite the player (on the edge of the platform).
2) => Angle of rotation to the nth point.
And please explain your answer with code if possible.
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question