Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It's decided. Thanks to all!
c = new Vector2(ax, (b - a).magnitude * Mathf.Tan(maxAngle * Mathf.Deg2Rad) + ay);
where a - A, b - B, c - C, maxAngle - a
Google "aspect ratio in a right triangle".
Usually such a problem is solved not through the coordinates of the points, but through the lengths of the segments, but one can be easily translated into the other.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question