Page 1 of 1

Serialization order

Posted: Sat Jul 21, 2012 5:11 pm
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.