Search Unity

Input.compass.rawVector

Discussion in 'Editor & General Support' started by mickfcna, Jul 24, 2020.

  1. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Hello,

    I want to get magnetic field values from my phone so I used "Input.compass.rawVector" method from Unity, but when I try to compare these values with those from Android (TYPE_MAGNETIC_FIELD and TYPE_MAGNETIC_FIELD_UNCALIBRATED) this is totally different. So my question is Why ? Does Unity make a special transformation ?

    I have Unity 2019.3

    Thanks for replying,
     
  2. mickfcna

    mickfcna

    Joined:
    May 13, 2019
    Posts:
    46
    Someone from the Unity Team can help me ?
    Thanks