How can I limit selection range of the laserPointer used by WebXRController PointerSelection?

You can also pass maxPointerDistance instead of adjusting the predicate, if you want to limit the ray to only work certain amount of units away from you. This is a part of the options that are passed to the pointer selection option when initializing the XR experience.

2 Likes