Babylon.js 7 scene.useRightHandedSystem = true - does not work

In Babylon.js 7 scene.useRightHandedSystem = true - does not work.
inspecting the camera.rotationQuaternion reveals NaN values.
works fine if useRightHandedSystem is false.

to replicate we have been using the github sample:

  • index.html - update babylon version to 7+ (ie, we’re using 7.45.0)
  • index.js - update BABYLON.SceneLoader.ImportMesh to BABYLON.SceneLoader.ImportMeshAsync (so it works in babylon.js 7)
  • run with useRightHandedSystem = false - works.
  • run with useRightHandedSystem = true - fails
  • inspect the camera rotationQuaternion when using right handed system

hi, any idea when this issue can be addressed.
currently its blocking us from using 8w on our project.

Looking into this now.

1 Like

hi, checking in on this, any updates? thanks!

Hi, since this is not getting much attention, is it possible to do the 8thwall initialisation in a babylon.js project manually? is it possible to create a custom version of XR8.Babylonjs.xrCameraBehavior() in the below code.

camera.addBehavior(XR8.Babylonjs.xrCameraBehavior(), true)