Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Input.gyro

Discussion in 'Editor & General Support' started by Rachan, Mar 14, 2023.

  1. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    545
    Hi there!

    I wondering why input.gyro.attitude when start application in landscape and portrait are difference?

    Such as, if you start application in landscape mode, the Y axis of gyro is in landscape X of device,

    But if you start application in portrait mode the Y axis was changed to upside down instead.

    I don't know why...

    Thanks!!!
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,507
  3. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    545
  4. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    545
    Last edited: Mar 15, 2023