Search Unity

Trigger range on HTC Vive?

Discussion in 'AR/VR (XR) Discussion' started by Underlord, Jun 27, 2016.

  1. Underlord

    Underlord

    Joined:
    Jun 27, 2016
    Posts:
    19
    For those of you out there who try to get the rotation values on the trigger, is it me or does it output something from 0.45-1?
    I can see the controller model animating it precisely, as soon as it starts getting pulled, but it doesn't start reporting a value until when almost half pressed.
    Am I the only one having this issue?
     
  2. TrickyHandz

    TrickyHandz

    Joined:
    Jul 23, 2010
    Posts:
    196
  3. Underlord

    Underlord

    Joined:
    Jun 27, 2016
    Posts:
    19
    Thanks. I actually just found that using
    Code (CSharp):
    1. controller.GetAxis(triggerButton).x
    returns the values I need. :)
     
    TrickyHandz likes this.
  4. TrickyHandz

    TrickyHandz

    Joined:
    Jul 23, 2010
    Posts:
    196
    Glad you found a solution for it!