VRTK_SwapControllerGrabAction
extends VRTK_BaseGrabAction
Overview
Swaps the grabbed Interactable Object to the new grabbing object.
Script Usage:
- Place the
VRTK_SwapControllerGrabAction
script on either:- The GameObject of the Interactable Object to detect interactions on.
- Any other scene GameObject and then link that GameObject to the Interactable Objects
Secondary Grab Action Script
parameter to denote use of the secondary grab action.
Example
VRTK/Examples/005_Controller_BasicObjectGrabbing
demonstrates the ability to swap objects between controllers on grab.
Updated less than a minute ago