Accelerometer query

Hi,

My first post.

Wanted to ask for suggestions on how to sample the accelerometer vector at a high rate.

I understand that the sensor itself operates at 100 or 400 Hz.

What would be extremely useful is if the accelerometer was sampled into a circular buffer of a given size, such that the last N samples were available to my game.

Thanks in advance,

Damien

Welcome to the forums!

That’s available via the iPhoneInput class and the accelerationEvents property. It gives you a list of acceleration events that occurred in the last frame.