Problems with Quaternions

I want to rotate a Camera by 90 degrees in y-axis can someone tell me the Quaternion to do that?



Thanks in advance

Not 100% sure, but it’ll give you something to work with:



Quaternion q = new Quaternion().fromAngleAxis(FastMath.PI/2, Vector3f.UNIT_Y);



Cheers

~FlaH