Search Unity

Question VR UI button press WITHOUT the ray caster/pointer clicker/Laser Ray. just the fingers.

Discussion in 'XR Interaction Toolkit and Input' started by Fressno, Apr 20, 2021.

  1. Fressno

    Fressno

    Joined:
    Mar 31, 2015
    Posts:
    185
    As the titles says, i cant find any explanation to my query.
    Is there a way to make it as "real" as possible with making the actual VR hands fingers to the actual interaction and just skip the laser pointer?
    The laser pointer/raycaster/pointer clicker is an immersion break from me in my game.
    All i can think of is having colliders at the fingertips that triggers the UI button. Maybe have a small rasycast comign out from the fingetip. But the result is glitchy from previous experience.
    Need a hint or a nudge towards an explanation.
    Thanx
     
  2. freso

    freso

    Joined:
    Mar 19, 2013
    Posts:
    73
    I bet that functionality won't be supported with XRIT. Maybe when/if they add support for actual finger tracking.

    If you want immersion, I'd suggest you have physical hands (Colliders on the model), and either physically push the buttons and detect when it's pushed down (no 2D UI), or have collider triggers on the UI for detecting fingers nearby.
     
    Fressno likes this.
  3. Fressno

    Fressno

    Joined:
    Mar 31, 2015
    Posts:
    185
    yeah, ill try something.
    thanx