Hi, my game uses Box2D, and it need the ability to save current game when user exits, but I'm not sure what is the best way to save a b2World, including all bodies? My first thought is to save coordinates and rotations of all bodies, when resume, create bodies according to saved coordinates and rotations, and then start the stepping routine, but is there any better way of doing this?
Thanks a lot!
Thanks a lot!