Serialization order

Post Reply
MaxDZ8
Posts: 149
Joined: Fri Jun 24, 2011 8:53 am

Serialization order

Post by MaxDZ8 »

The current serialization process dumps rigid bodies in the same order they appear in btCollisionWorld::m_collisionObjects. It is the same order they have been put there by either using addRigidBody or addCollisionObject. On loading, order is preserved. Are those properties guaranteed to hold? I'm exploiting this to provide extra settings which are not (and cannot) be serialized.
Post Reply