Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0
Members

Get phone orientation ?

A topic by sheep_knight created Sep 09, 2016 Views: 529
Viewing posts 1 to 2
(+1)

Hello,

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