Search Unity

Reliable gyroscope / VR mobile camera script?

Discussion in 'AR/VR (XR) Discussion' started by magglemitch, Aug 10, 2020.

  1. magglemitch

    magglemitch

    Joined:
    Dec 8, 2013
    Posts:
    112
    Need to add gyroscope support for a 360 app. Nothing comes close to the stability of Google VR - however I want to be able to use ARFoundation in other scenes too and these seem to clash I think? Plus googleVr doesn’t seem to work on 2020 as it requires the VR option to be enabled in the player settings which I think has been removed.

    Anyone had any experience with getting gyroscope to work perfectly with 360 stuff?
     
    Last edited: Aug 10, 2020
    zacharyaghaizu and Saaskun like this.
  2. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    782
  3. Saaskun

    Saaskun

    Joined:
    Nov 29, 2019
    Posts:
    51
    I have a similar problem. We need to develop an App very similar to the Google Spotlight Stories.
    I tried a lot of gyroscope codes for 360 rotation, but isn't perfect.
    When you enable VR the rotation is perfect, but there is no "open code" for that... I think that is using the Gyro and Accelerometer perhabs

    Btw, You need to get the last Google VR plug-in to work, for now there is a bug (Google's problem) when you are en VR mode and then change to normal, it crash.