What is mesh.isNearGrabbable?

It is a flag that allows support for near interactions, mainly in XR.
It is used for 3D GUI (like the MRTK 2.0 support we have - MRTK 2.X For Babylon.js | Babylon.js Documentation), but if you use the near interaction module (WebXRNearInteraction | Babylon.js Documentation) you can use it on other nodes as well. The main thing is - when are events triggered. If this flag is enabled and you “grab” a grabbable node, a pointer down will be triggered

1 Like