twemb
1
I am trying to set an objects rotation to a specific angle with this line:
Wheel1.transform.rotation = Quaternion.Euler(Random.Range (0, 5) * 60, 0, 0);
But for some reasons the y and z angles are sometimes 180 instead of 0. What am I doing wrong?
Hi, this answer is related to this question: Problem with localEulerAngles (180 degrees error?) - Questions & Answers - Unity Discussions