Serializing Bullet scene inside custom format

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Post Reply
Starfox
Posts: 37
Joined: Wed Jul 27, 2011 12:01 am

Serializing Bullet scene inside custom format

Post 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.
Post Reply