Page 1 of 1

Serializing Bullet scene inside custom format

Posted: Wed Sep 04, 2013 12:31 am
by Starfox
I have a custom serialization format that allows embedding per-object binary blobs. What would be the best way to serialize a scene? I can store body info and collision shape references just fine, is it enough to store the object's velocity (linear / angular) and apply that on deserialization or is there a preferred way to store info like receiving a binary blob with the object's data from Bullet and setting that back when the scene is loaded? I want to do it on a per-object basis so the whole-scene serialization format isn't useful for me.