Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feedback Google Carboard VR: How to disable head tracking?

Discussion in 'VR' started by colsenstiles, May 5, 2020.

  1. colsenstiles

    colsenstiles

    Joined:
    May 5, 2020
    Posts:
    3
    Hi, I'm a beginner in Unity and VR, and I would like to disable head tracking in Unity, as I would like to use AR Foundation/ARCore to track the head of the user in real space. I tried
    using XRDevice.DisableAutoXRCameraTracking(this, true); on the main camera but an error says: cannot convert trackingControlCamera to UnityEngine.camera. So I guess that Cardboard had automatically converted my default unity camera to a trackingControlCamera? I want to retain the default carboard VR binocular camera system, but without the tracking that automatically comes with it. Any help trying to achieve this task, or to gain a higher understanding of what I'm toying with here would be greatly appreciated, thank you!