@Sailing Judo, here is the best answer if you want to turn it like a wheel. Try to look at your code again and instead of putting / changing the X axis as a parameter, instead put your value on the Z axis. Changing the x or y axis in a circular rotation ended like a coin flipping. Watch and try again.
if(Input.GetKey(KeyCode.LeftArrow)) { // Clockwise transform.Rotate(0, 0, -3.0f); // --> Instead of "transform.Rotate(-1.0f, 0.0f, 0.0f);" } if(Input.GetKey(KeyCode.RightArrow)) { // Counter-clockwise transform.Rotate(0, 0, 3.0f); // --> Instead of transform.Rotate(1.0f, 0.0f, 0.0f); }
source share