Get XR camera orientation?

I’ve tried to print the camera rotation but it seems that I cannot get that rotation from the XR camera even using xrHelper.baseExperience.camera.rotation

Verify that is as easy as start a XR session and print it to console using any key from your keyboard.

Thank you in advance for any tip!

You need to use the quaternion (rotationQuaternion) and not the rotation

2 Likes

Thank you!

1 Like