I have the following FixedUpdate() method on a game object:
void FixedUpdate()
{
transform.Rotate(Vector3.right * Time.deltaTime);
transform.Rotate(Vector3.up * Time.deltaTime);
transform.Rotate(Vector3.forward * Time.deltaTime);
}
However, the x rotation, y rotation, and z rotation are all rotating unevenly. What causes this and how can I fix it?
Additional Information:
- Same results for both a 2D sprite and 3D cube.
- The order of the Rotate() calls have no effect.
- The x rotation rotates substantially slower than the y rotation and z rotation.
- The y rotation and z rotation stay relatively the same.
- transform.Rotate(Time.deltaTime, Time.deltaTime, Time.deltaTime); yields the same results.