Search Unity

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!