- Home /
Question by
Maniacbob · Feb 28, 2014 at 07:34 AM ·
vector3anglerotate object
Global Rotation of a Vector Around an Object
Im creating a vector3 point to one side of my character (depending on faced direction) but I need to find the angle that the point is located around my object so that I can use it in my equation. I tried using Vector3.Angle but that gives me a completely different angle.
Comment
A picture would help. If the Angle was wrong you were probably measuring it from the wrong starting vector. You may also need a signed angle - let me know and I can give you the code for that.