- Home /
Object rotation to unit vector
How can I convert the rotation of an object to a unit vector?
Is there a Unity function to do this? If not, what would be the math to do this?
Thanks for any help.
Comment
Best Answer
Answer by rsud · Sep 10, 2012 at 12:25 AM
Looks like I found the answer. It appears transform.forward provides what I need!
Your answer
Follow this Question
Related Questions
How should I rotate a 2D unit vector by X degrees? 1 Answer
Clamping Vector3 2 Answers
Aligning an object's rotation direction to a vector 2 Answers
Creating Hint Vector 1 Answer