Answer the question
In order to leave comments, you need to log in
How to find direction vector by angle?
I have a conditional boss, a crowd of units approaches him, I need to place them in a semi-circle, how can I find the direction of their position relative to the boss? or mb there are other options how to arrange them like that?
Answer the question
In order to leave comments, you need to log in
Head-on solution - 7th class of geometry.
We have a right-angled triangle, we have an angle (for example, we want to place them every 10 degrees), there is a hypotenuse (it's also the radius on which we want to place enemies).
You need to find the legs, knowing the angle and hypotenuse (they suggest that these are sine and cosine).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question