🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Get phone orientation ?

A topic by sheep_knight created Sep 09, 2016 Views: 229
Viewing posts 1 to 1


I was wondering, is there a way to get the phone pitch, yaw and roll ?

I saw ways to do it in JS (using window.addEventListener()), but it doesn't seems to work with superpowers, the compilation fails.

Do somebody knows if there is a way to get it ? (a plugin or a function that is well hidden ?)

Thanks anyway :D