- Home /
when i try checking if my player is upside-down im not sure the correct way to check as my code is not being run.
if (SubTrans.localRotation.z > 90 && SubTrans.localRotation.z < -90) { SubTrans.localScale = new Vector3(transform.localScale.x, -transform.localScale.y, transform.localScale.z); }
Comment
Your answer
Follow this Question
Related Questions
Flip over an object (smooth transition) 3 Answers
Multiple Cars not working 1 Answer
Rotate table on its edges like in Bloxorz 1 Answer
How to test if rotation is within a range? 0 Answers
Distribute terrain in zones 3 Answers