- Home /
Question by
StormSoldier2377 · Apr 27, 2018 at 01:55 PM ·
c#transform.rotation
transform.rotations not going past 90 and -90 degrees
This is what I'm using:
transform.rotation = Quaternion.Euler(transform.rotation.eulerAngles.x - 5 * Time.deltaTime, transform.rotation.eulerAngles.y, transform.rotation.eulerAngles.z);
It works fine on the y and z axes but whenever it reaches those points on the x axis for some reason it gets stuck. Why? Can I fix this?
Comment