Excluding a XRGrabInteractable from far interactions when using the NearFarInteractor

I’ve been experimenting with XRI 3 and its Starter Assets. The Rig in the DemoScene there is using NearFarInteractor.

I was looking for a possibility to exclude a XRGrabInteractable from far interactions when using the NearFarInteractor but have not found a build in way to do this. Is my assumption correct?

Ist the correct way to do this (without extending the NearFarInteractor) by having a NearFarInteractor and a
XRDirectInteractor in the Rig and using the Interaction Layers to decide which is used?

You can use different physics layers for the object and exclude it from the curve interaction caster’s layermask. That’s probably the easiest way to go honestly.

1 Like

Thanks for the quick feedback. I will add that as a tip to our documentation.

It seems that in our case, we are going to disable Far Casting in the NearFarInteractor as the default setting in the VR Builder Rig. Most training use cases (which are the main use cases of our users) don’t require far interactions.

Side note: I promised you feedback on XRI 3 on “Twitter”, it is coming. Sorry for being slow on it.