Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. 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
  3. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  4. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  5. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

Help Wanted XR Controller gets wrong position (HTC Vive)

Discussion in 'AR/VR (XR) Discussion' started by jesper300595, May 28, 2020.

  1. jesper300595

    jesper300595

    Joined:
    May 28, 2020
    Posts:
    1
    Hello. So this is my first time laying hands on Unity, actually first time working with a game engine.

    I follow a tutorial on youtube to get started and can't seem to get the correct tracking of my controllers.

    I've created an empty game object and added the component XR Rig

    upload_2020-5-28_23-28-34.png

    As seen on the image above, I've put on the Camera Offset and a Camera

    upload_2020-5-28_23-29-32.png
    upload_2020-5-28_23-29-53.png

    I have then created two empty game objects under my VR Camera, a right hand and a left hand. Both of those I've added the XR Controller and set the Controller Node to left hand / right hand.

    upload_2020-5-28_23-31-31.png

    But when I press play, the controllers seem to be floating a lot higher than the headset and the tracking is completely off.
    upload_2020-5-28_23-33-15.png

    I hope someone can tell me what I'm doing wrong, if more information is needed please let me know.

    P.S. I've under Project settings -> Player, added OpenVR
     
  2. MaxC24

    MaxC24

    Joined:
    Apr 7, 2017
    Posts:
    1
    I have the same issue, were you ever able to figure this out?
     
  3. flomaaa

    flomaaa

    Joined:
    Apr 12, 2019
    Posts:
    24
    Same issue since this afternoon. Did you find the problem, Max?
     
  4. darthslayer504

    darthslayer504

    Joined:
    Mar 31, 2021
    Posts:
    1
    I have the same issue
    i followed this tutorial
     
unityunity