Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

XR Interaction toolkit : bypassing the OnHover/OnSelect events to interact with AR Objects

Discussion in 'XR Interaction Toolkit and Input' started by Alemaout, Apr 24, 2020.

  1. Alemaout

    Alemaout

    Joined:
    Apr 16, 2020
    Posts:
    2
    I'm using the XR Interaction Toolkit to scale an object with a pinch gesture and it works only after triggering both the OnHover (by aiming at the center of the object with the camera) and the OnSelect event (by clicking on the object). Is there any way to interact with an object directly without having to see the object entirely on screen (in particular not its center) and to click on it beforehand? (For example by ignoring these events or controlling them from the script)