
I got the custom build of blender that exports .bullet files from here:
http://code.google.com/p/bullet-physics ... loads/list
I extracted the .bullet file from the example (the example is a house being knocked down with a big bullet)
then I imported it into my code:
Code: Select all
fileLoader = new btBulletWorldImporter(dynamicsWorld);
fileLoader->loadFile("testFile.bullet");
int body_count = fileLoader->getNumRigidBodies();
I then found the file inspector:
http://code.google.com/p/gamekit/downlo ... akechanges
I loaded the bullet file mentioned above and the .bullet file included with the inspector and found neither had rigid Bodies.
According the the "Explorere" tab it did have btRigidBodyFloatData which had m_collisionObjectData
But, the m_collisionObjectData m_name member was blank.
So, I don't understand the process. Do I load the serialized file then create rigidBodies from the "btRigidBodyFloatData"?
If so, how do I get a list or array of those things through which to iterate?
Also, if all the names are blank, how do I know what is what?