How do you prevent bubbling of events with webXRInputControllerSupport?

Re: WebXR Controllers Support | Babylon.js Documentation

I want to capture the thumbstick axis, which I do, but how do I stop the immersive framework from rotating my camera by default?

1 Like

it’s less about bubbling and more about disabling or detaching the teleportation module.
If you want rotation not to happen when thumbstick are used, you can either disable the teleportation altogether:

defaultXRHelper.teleportation.detach()

Or disable it altogether when starting the session by adding disableTeleportation: true to your session creation options.

You could also disable rotation only -

teleportationFeature.rotationEnabled = false
1 Like