I’ve seen a few other questions with the same title, but they seem to be trying to find an angle from two points. This diagram describes what I want:
Suggestions?
I’ve seen a few other questions with the same title, but they seem to be trying to find an angle from two points. This diagram describes what I want:
Suggestions?
Hey, you can use Dot Product or some trigonometry:
// Get Angle in Radians
float AngleRad = Mathf.Atan2(Vect1.y - Vect2.y, Vect1.x - Vect2.x);
// Get Angle in Degrees
float AngleDeg = (180 / Mathf.PI) * AngleRad;
Another post, might help you as well:
[45702-untitled.png|45702]