I’m currently working on a game that requiers both the accelerometer and gyroscope. The only problem is that the accelerometer only outputs every 12 frames, making everything a bit unresponsive.
So are the problem conected to the software or hardware?
What?! Please elaborate. If you get updates every 12th frame then I expect this is caused by the Repeat Interval specified in game.project in the Input section. The default value is 0.2 which correlates with the 12 frames per second that you see with an update interval of 60 frames per second (60*0.2=12).
When I build it to an APK it updates every frame, but in the dmengine it’s every 12th frame. Btw your gyroscope dosen’t work in the dmengine and the camera dosen’t work at all.
The gyroscope extension should work on iOS and Android. No other platforms are supported.
You mean when running the empty engine and targeting it from Project->Target? If that’s the case then I’m not really surprised since the empty dmengine is using the default values from game.project (ie Repeat Interval 0.2 seconds).