- Home /
What is the 3rd point of Vector3.Angle ?
I don't fully understand how Vector3.Angle works : you need 3 points to define an angle. When using Vector3.Angle, I just need to specify 2 points.
So, what's the third point used to calculate the angle? I would like to understand which angle this function is returning.
Thanks for your answers :).
don't forget Vectors ARE DIRECTIONS.
they ARE NOT "from and to" somewhere. they are JUST DIRECTIONS.
so if you have "two vectors". it means "you" are standing somewhere, looking at TWO DIRECTIONS.
hope it helps!
Answer by DaveA · Nov 01, 2012 at 09:46 PM
I think that would be the origin, 0,0,0
Because the inputs are considered arrows, not points -- (3,0,6) really means a ray that goes 3 right and 6 forwards.
Technically, Angle says to pick any point at all, start both arrows from there, and check the angle. But then it all cancels out and the center point counts as 0.