Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

SteamVR disable HTC vive HMD tracking

Discussion in 'AR/VR (XR) Discussion' started by unity_0879233, Nov 27, 2018.

  1. unity_0879233

    unity_0879233

    Joined:
    Oct 11, 2018
    Posts:
    4
    Hello everyone,

    I'm trying to render two static cameras to the HMD, one for each eye. So Cam (Left) renders to the left eye and Cam (right) renders to the right eye. The problem that I have now is that Cam (Left) and Cam (Right) follow the HMD position and rotation. I tryed a few things but they don't work the cameras keep tracking and the HMD movements and move accordingly. Is there a way to disable the HMD tracking?

    Already tryed:

    https://forum.unity.com/threads/completely-disable-position-tracking.450644/ (The cameras still move a little and they are moved to the center of the world when you run the game)

    https://github.com/guiglass/StationaryStereoCamera (This make it possible to render images to the HMD that don't move when you move the HMD. This soulution can work if I can render the whole camera view from Cam (Left) and Cam (Right) and keep them from moving)

    Thx in advance for any help.
     
  2. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    39
    Attaching a Tracked Pose Driver to the camera, and disabling should effectively disable head tracking. If this doesnt work then please raise a bug!
     
  3. unity_0879233

    unity_0879233

    Joined:
    Oct 11, 2018
    Posts:
    4
    It works perfectly, Thank you!