Changing the Pointer Ray Length

I’m doing a WebXR game and I want the pointer to be more like a grabber, so I’d like to set the pointer length to be very small. How do I do that?

@RaananW should be able to help you.

There is currently no way to configure both the length of the pointer ray and to set a limit to the picking result to be less than N units.

I think it’s a nice addition to the pointer selection feature, I will add it to the TODO list (located here - [XR] changes to PointerSelection behavior · Issue #7974 · BabylonJS/Babylon.js · GitHub)