Quaternion for camera

Hi there.

Can anyone help me with this?

I require to get a quaternion instance from the current rotation

of the camera?

If anyone have any ideas of getting this, please help?



Thank you :smiley:

You can use Quaternion.lookAt now (just checked in like proposed in User Code section):

new Quaternion().lookAt(cam.getDirection(), cam.getUp())