Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Our response to Improbable’s blog post (and why you can keep working on your SpatialOS game). Read more here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

How to USE objets (with laser) in VRTK ?

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

  1. remiC3D

    remiC3D

    Joined:
    Dec 15, 2017
    Posts:
    5
    Hello,

    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 :
    https://ibb.co/9GndczW

    And My VRTK_Interact_Use component (also on the same right hand controller) is setup that way:
    https://ibb.co/2Z8QBhm

    Finally, the interactable object is setup this way:
    https://ibb.co/6m7jdVt

    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 !