Just trying out webXR and had couple of issues:
How do I change WebXR camera icon location from bottom-right to top-right?
-
I enabled WebXR Camera by clicking camera icon and noticed my collision is not working as it works with universal camera.
var polyfill = new WebXRPolyfill(); var createScene = function () { camera = new BABYLON.UniversalCamera("camera1", new BABYLON.Vector3(100, 190, 2950), scene); // ALL OTHER CODES var vrHelper = scene.createDefaultVRExperience({ createDeviceOrientationCamera: false, useXR: true, // This will enable XR if supported floorMeshes: [ground] }); return scene; }