WebXR immersive mode - Teleporting to a lower floor causes the teleport behavior to work less effectively. The minimum teleport distance while pointing at the ground seems to grow proportionately to how far down that floor is.
Users also have trouble teleporting up ramps once they get down to a lower level.
The only way to make this work predictably is to point the controller very high into the air (almost vertical). Lowering the parabolicCheckDistance lessens the issue when going to a lower floor but you cannot teleport as far.
This has been brought up before but this happens also in this trivial example. https://playground.babylonjs.com/#CVVLJ9#16.
resolved earlier half of the post, thanks for the help @Cedric
Kinda 2 things here. VR teleport bug, and I need a hand getting the demonstration playground example to work to begin with. The bug is reproduced in our codebase, but just having a struggle getting navmeshes working in babylon playground here.
The navmesh in this playground doesn’t work.
I would set it up like the other examples but don’t you have to have separate wall meshes and such? I don’t have the assets handy for that right now.
Our code uses Recast plugin, but imports it and passes the module in. Usual examples dont pass anything in. We use buildFromNavmeshData.
const navigationPlugin = new BABYLON.RecastJSPlugin(recast); ... const navMeshURL = "https://cdn.glitch.global/38b631a0-9744-4531-a771-2d87d5e99fc3/frame-aud3-navmesh.bin?v=1691102803753"; ...fetched... navigationPlugin.buildFromNavmeshData( new Uint8Array(navmeshBinary) ); let navmeshdebug = navigationPlugin.createDebugNavMesh(scene);
Can anyone help fix this? It demonstrates the bug below.