Hello,
Im having an issue and was hoping someone could see something I don't (please see image)? I have a simple cube in the scene which I am moving 1 unit and rotating 90 so that it flips each time a key on the keyboard is pressed.
The rotation to the left and right work perfectly fine but there are some strange issues when rotating up/fwd and down/back here are the inspector values each time the button is pressed repeatedly (one key a few times in a row):
Perfect rotation I can see the gizmo rotating 360 degrees
Left arrow key - z: 0, 90, 180, -90, 0, etc..
Right arrow key - z: 0, -90, 180, 90, 0, etc..
With the up and down arrow keys there is an issue I can't figure out as the cube never completes a 360 and flip/flops back and forth:
Fwd/up arrow key - x: 0, 90, -180, 90, -180, 90, etc..
Back/down arrow key - x: 0, -90, -180, -90, -180, etc..
I'm open to any suggestions on to figure this out. Thank you in advance.