How to hide Hands when selected a gameobject in xr.interaction.toolkit 3?

Hi all,

I learned vr developement with unity official online course but with xr. interaction.toolkit version 2.

In the course, I learned I can hide the hands here:


But with the xr.interaction.toolkit version 3, this option is complete disappeared, because it replaced with a near-far Interactor. There are no such options for hiding hands.

How can I hide hands in version 3?

Hi @connygy. You could leverage the Interactor Events on either the ray interactor or near-far interactor and enable/disable the visuals GameObject on Select Entered and Select Exited events.


what if you wanna hide the hand thats holding the item not a specific hand

@thomasGreavey This solution should still work for that case. If you use the left hands select events to disable the left hand visuals, and the right hand select events to disable the right hand visuals, that will hide the visuals of the hand that has selected the item.

Even though deprecated, the Hide Controller On Select is still available under the “(Deprecated) XR Controller Configuration”.