Search Unity

  1. Unity wants to learn about your experiences working on a Unity project today. We'd like to hear from you via this survey.
    Dismiss Notice
  2. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice
  3. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Help Wanted 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:
    169
    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:
    45
    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:
    169
    yeah, ill try something.
    thanx
     
unityunity