Quaternion.Slerp not rotating the x axis

hi all i am trying to store the original rotation of the camera and after moving the rotation of the camera around which is done in another scrip. I want to move back to the original rotation. My code looks like

cam.rotation = Quaternion.Slerp(cam.rotation,origRotate,Time.deltaTime * rotationSpeed);

the only problem i am getting is its not rotating back to the x axis ie if the original rotation is (0.0,0.4,0.0,0.9) and after i run the code in the above line it gives me a vale of (-0.5,0.4,0.2,0.8) so it works for y and z axis but not the x axis.

any help in this would be great.

Virtual

hi all yeah i found out the answer to my question it was rotating the x axis was my look script was setting the x pos back after it had interpolated it fixed and all working now thanks for yout help :D

Virtual