- Home /
can I know What side of my rigidbody is facing down?
Hello there! I wanna know if is there a way to see what side of a rigidbody is facing down, or up, for exemple in a dice case.
in my situation I need it with a margin of error, about 10 degrees. Thanks!
Comment
Best Answer
Answer by Dreamblur · Jun 29, 2011 at 05:45 PM
transform.right points to your game object's local x-axis.
transform.up points to your game object's local y-axis.
transform.forward points to your game object's local z-axis.
Your answer
Follow this Question
Related Questions
How to make a dynamic bow shot and the arrow to curve and turn correctly when shot? 0 Answers
Get angle from impact 2 Answers
How can I rotate a rigid body based on its velocity? 3 Answers
Add Force to the right of the rigidbody, not right of the screen 1 Answer
Finding the Torque Factor in AddTorque 0 Answers