Search Unity

[Win 10 Universal] Surface Pro 2 vs Nokia Gyroscope

Discussion in 'Windows' started by jotapeh_, Mar 28, 2016.

  1. jotapeh_

    jotapeh_

    Joined:
    Nov 16, 2012
    Posts:
    45
    Hi,

    I'm running into a bit of a difficult problem. On the Surface Pro 2 (and presumably other Surface devices,) the Input.acceleration axes are flipped from a Nokia Lumia 925 (and presumably other phones.) Meaning x is y and vice versa on either platform.

    Both are running Win 10, and the codebase is the same Windows Universal project for both devices.

    This leads to some obviously awkward behaviour, where objects fall sideways on the Surface and have correct gravity on the phone.

    How can I tell the difference between the devices? Is this a known bug with Surface Pros?

    EDIT: had to change the title. This is apparently specific to Input.gyro.gravity and Input.compensateSensors, which are inconsistent across the two devices
     
    Last edited: Mar 28, 2016
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,736
    Can we get a bug report for this? This is likely a bug on our side with sensor compensation. Thanks.