Quaternions rotating left and right, not forward and back

Hello.

I have a model. Imported said model to Unity. When instantiated, it is sideways, so I used the following code to rotate it:

_crescentInstance.transform.rotation = new Quaternion(0, 180, 0, 0);

After hitting play and realizing how dumb it was to rotate something in the other direction, i changed its’ rotation to 90. Nothing happened.

Then I changed the rotation to 270. Nothing happened.

For some reason it’s only accepting rotations along the Y-axis of 180 and 0. Anything other than that does literally nothing.

I’ve re-imported the model, and I’m positive the base rotation for the game object is 0. I’ve even tried setting the instantiated angle to the Quaternion, and I have the same results.

Moreover i’ve tried the Rotate() function as well, and that too yields the same results.It’s as if my model has no Y axis of 270 or 90.

Is this why in the documentation it said not to modify the X Y Z and W values unless you know exactly what you’re doing?

Seems like you don’t really understand what a Quaternion is (don’t worry! I don’t know it too! LOL).

To rotate an object you should use Transform.rotate or Quaternion.Lerp.
I would recommend reading this page: Unity - Scripting API: Transform.Rotate