How do I convert AccelerationXWithG to alpha value ?

Get help using Construct 2

Post » Sun Oct 02, 2016 2:09 am

Hi,

My game is inclinometer based. Alpha, beta, gamma (https://www.scirra.com/manual/119/touch) works well on a phone but not on a tablet (Samsung). For the tablet, it seems that only AccelerationXWithG / AccelerationYWithG / AccelerationZWithG are working.
Is there a mathematic ways to convert the acceleration into an angle ?
Best regards from France
B
28
S
13
G
8
Posts: 15
Reputation: 6,112

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests

cron