Question by
Franklin96 · Oct 02, 2020 at 03:55 PM ·
rotation axisrigidbody physicsrotation detection
Get Direction relative to rotation
Hello, i have a question: How can i get the direction relative to his rotation? i tried with : if (RB_Player.velocity.x > 0)
if (RB_Player.velocity.x < 0)
but when i rotate the object, for example, of 90°, the left side correspond to forward. Any solution?
Comment
Your answer
Follow this Question
Related Questions
Rotating in relation to touch X on screen 1 Answer
How to rotate a cube vertically when the axis is unknown 0 Answers
Problems with limiting angles 1 Answer
How to make a gameObject's Y rotation being another gameObjects' X rotation 1 Answer
Horizontal push back not the same as vertical pushback whenever I use add explosion force 2 Answers