Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to USE objets (with laser) in VRTK ?

Discussion in 'AR/VR (XR) Discussion' started by remiC3D, Jan 10, 2019.

  1. remiC3D


    Dec 15, 2017

    I'm new to using the VR Toolkit, and 'im currently struggling with how to trigger the InteractableObjectUsed event on an Interactable Object. I would like this object to be used (at a distance, using the laser pointer) on Trigger Press, and to be simply selected on Touchpad Press.

    Therefore, I've setup my right hand VRTK pointer this way :

    And My VRTK_Interact_Use component (also on the same right hand controller) is setup that way:

    Finally, the interactable object is setup this way:

    However, when I run my scene, it seems that the InteractableObjectUsed event is triggered only when the object is selected (i.e. on TouchPad Press), and is not triggered at all on Trigger Press.

    Can someone please explain why ?

    Thanks in advance !