Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Disable autorotation animation on XHR enabled build

Discussion in 'Vuforia' started by Tibor-Udvari, Mar 2, 2018.

  1. Tibor-Udvari

    Tibor-Udvari

    Joined:
    Apr 1, 2015
    Posts:
    12
    I'm trying to disable the autorotation animation on my iOS build, using Vuforia and Virtual Reality support enabled by Vuforia.

    In the player settings these settings are grayed out and it is marked that they are overriden by virtual reality support.

    How can I disable this using code on my side?

    Context: I am making an AR enabled 360 video player. When you look at a target in portrait mode it detects it and when you subsequently turn the phone into landscape it plays the 360 video around you. I need the VR support to track the rotation of the phone so users can look around in the 360 video sphere.