hannesa2 / panoramaGL

PanoramaGL Android
Apache License 2.0
164 stars 59 forks source link

Use SENSOR_DELAY_GAME for acceleration, gyroscope & magnetometer #324

Closed MarcoSanz12 closed 1 month ago

MarcoSanz12 commented 1 month ago

Hello again! I have been testing the latest release and, as I mentioned in #317 , I was still having the same crash with the sampling rate. I fixed it with:

-Changed the sampling rate of 3 sensor listeners (gyroscope, accelerometer, magnetometer) to SENSOR_DELAY_GAME . When HIGH_SAMPLING_RATE permission is active in the Manifest, SENSOR_DELAY_FASTEST will be used for smoother movement.

hannesa2 commented 1 month ago

https://github.com/hannesa2/panoramaGL/releases/tag/1.11