Saving Box2D shapes -



Saving Box2D shapes -

as part of save/load game code, need save state of box2d bodies in world. when , load , recreate them there quick pop of bodies separate each other. i've double , triple checked save game info , correct.

for each body, i'm saving world position, angle, angularvelocity , linearvelocity. there more need save?

i'm wondering if it's not possible save state of box2d world.

i using c++ box2d code in ios.

there dump function of b2world. set info world log file. can see log file , understand have save.

ps: did not tried function myself

box2d

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -