How do I re-calibarte the compass in a Unity app ?
http://android.stackexchange.com/questions/10145/how-can-i-calibrate-the-compass-on-my-phone?rq=1
That page says just move the phone in a figure 8 or rotate on all 3 axes. But are those apps doing anything in code when they ask you to do that ?
The calibartion on the default compass app on the iPhone seems much more involved. What are they doing exactly ? - https://www.youtube.com/watch?v=OFF_nzIktRk
Also, is there a way I can know when re-calibration is required ? Compass.headingAccuracy returns 0(meaning unsupported) on all android devices I've tried. I am not sure about iOS.
↧