Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    37
    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!