I am coding for Oculus Quest mainly, but also for all VR-Devices.
As WebXR ist not everywhere yet (like in iPhone) I use createDefaultVRExperience with useXR.
I can’t check for xrTestDone and call enableTeleportation at once!
Is there a way to call createDefaultVRExperience asycron?
See https://www.babylonjs-playground.com/#3BNJN2#14 for my work around.
This runs fine, including enterVR after 5 seconds.
But if I uncomment enableTeleportation, enterVR does not work in my Quest. My fould?
(It works in MacOS Morzilla with add-on “WebXR API Emulator”)