I finally could converted PLATEAU models, which is city model data in Japan from MLIT government, and successfully imported them into Babylon.js Editor.
@RaananW will have a look after his vacation if @syntheticmagus can not have a look this week. In the meantime @Limes2018 could you provide a repro in the Playground ? This is impossible for us to troubleshoot and clone large projects
If camera.position.set() is bad practice or doesn’t work at all, is there a way to make that clear from the documentation? I think it’s reasonable for a user to assume that would set the position of the camera, so maybe we need to warn against doing that.
I removed “camera.position.set()” and tried to access on Oculus Quest2. But my browser on Quest2 denied to access my self https-server. (My quest2 may be updated…)
I’ll confirm it by uploading my code to another https server like github.io. Sorry for waiting several days.
From a desktop today, I can elaborate. The whole point of XR is the headset IS the camera. Setting the position on entry is just going to get overridden. The headset determines the position & rotationQuaterion every frame.
You assign the position of the non-VR camera before you enter, then you can transfer it on entry.
There is an entire section in the documentation describing this: