Grabbable Hands in VR (using sphere collider) - Unity3D



We're going to use the XR framework to allow our hands to grab objects. We'll need 3 things:

1. The XR grab interactable. ( The object we'll be grabbing. )

2. XR direct Interactor on each hand.

3. A collider to indicate the trigger zone of the XR grab interaction. Each hand will need its own.

These scripts are provided by the XR framework and you just have to add the component. Once added make sure that the trigger is on and move it accordingly to where you want the trigger to work. The next step will be to make sure that the object is an XR grabble. We'll add that feature next.