- Home /
Question by
OmegaVemon · Nov 25, 2010 at 02:43 AM ·
rotateaxisworldrelative
X position relative to..... world?
I have a character, and it can rotate around. Rotating means the X and Y axises will change "direction".
And I need to know the player's X and Y axises like if he had always 0 rotation, but how?
Comment
Best Answer
Answer by Eric5h5 · Nov 25, 2010 at 02:51 AM
transform.right and transform.up. (As opposed to Vector3.right and Vector3.up, which are in world space.)