- Home /
Question by
user-9175 (google) · Feb 11, 2011 at 05:47 PM ·
mobileorientation
How do I get the screen's exact orientation?
How do I get the exact angle of a mobile screen's orientation? Preferably as a Vector or Quaternion.
Comment
Answer by DaveA · Feb 11, 2011 at 08:14 PM
Fifteen dollah, no hollah! : http://www.prime31.com/unity/
Answer by Jessy · Feb 11, 2011 at 06:53 PM
You can't, with Unity alone. Unity's Input class only provides accelerometer support, not gyroscope support, as of yet.