I seem to be getting obtuse results from Vector3.Angle(). It’s telling me this:
is a 158 degree angle.It seems like it’s measuring my green vector (transform.forward) as if it was going the opposite direction.
I’m just getting the vector from the unit to the enemy, and the transform.forward of the unit, as represented by the debug lines (that draw off of the calculated vectors). I’m not sure hwats going on here, any ideas?
The angle returned is always the acute angle between the two vector (ie, the smaller of the two possible angles between them and never greater than 180 degrees).