You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if I run this on my iPad Air (5th gen) running iOS 17.4.1 the gravity pulls to the right instead of down. I thought I could sniff the browser and write an alternative beta / gamma to x / y conversion, which I did and it looks like this:
However, when my client tested the above on their iPad Pro (3rd gen) running iOS 16.4.1 gravity pulled to the right again, even though on my iPad it pulled down.
I am using the Matter gyro demo in my project and it works perfectly on Android. However, I'm not able to achieve consistent results on iOS.
This is the relevant snippet I have taken from the gyro demo:
However, if I run this on my iPad Air (5th gen) running iOS 17.4.1 the gravity pulls to the right instead of down. I thought I could sniff the browser and write an alternative beta / gamma to x / y conversion, which I did and it looks like this:
However, when my client tested the above on their iPad Pro (3rd gen) running iOS 16.4.1 gravity pulled to the right again, even though on my iPad it pulled down.
I ended up writing a little tool that let me observe the readings of beta / gamma, and I can confirm the readings are different on iOS when compared to Android. I also stumbled across this library called Full Tilt which appeared to address the issue, but I cannot use as it has since fallen out of maintenance (I am building with webpack).
Has anyone had any luck with the gyro and getting it to work consistently across Android and iOS devices?
The text was updated successfully, but these errors were encountered: