I would like to store the history of a box2d simulation. Currently I can't find any built-in mechanism for that.
I need to store the states of all non static objects in the last second, mainly for network latency correction.
I think I will use a multi dimensional array for all the rigid bodies positions and forces.
Is there a better way to achieve what I'm trying to do?