Search Unity

How to pause Gyro and Accelerometer for a while ?

Discussion in 'Daydream' started by jc-sakdavong, Sep 26, 2016.

  1. jc-sakdavong

    jc-sakdavong

    Joined:
    Aug 14, 2016
    Posts:
    1
    With the previous SDK you could uncheck the tracking... Is there a way now ?

    I need this because I use Tango Device which has its own "pose" and positionning.... if I let the head tracking, rotations are for example happening double (360° instead of 180°).

    Thanks for any hints...
     
  2. thep3000

    thep3000

    Unity Technologies

    Joined:
    Aug 9, 2013
    Posts:
    400
  3. Nick-at-AccuPS

    Nick-at-AccuPS

    Joined:
    Jan 23, 2016
    Posts:
    6
    Using SetStereo* does not seem to work for Daydream builds; there's apparent jitter when rotating a device while the rotation is fixed in-engine.

    I'm guessing the issue might be time-warp introduced on Google's side, but I didn't observe the same behavior in either DK2 or GearVR devices.
     
  4. mira_leung

    mira_leung

    Official Google Employee

    Joined:
    May 17, 2016
    Posts:
    70
    The jitter is because the Camera is actually moving (yes, "time warp") but despite forcing it back in place, it may be moving within a frame. Rotation should be disabled from Tango's C# SDK instead of disabling GVR's. Although that may causes other problems when interpolation depends on both position and rotation, we currently don't support Tango Unity SDK with the GVR native integration.