minor tweak: allow btBulletWorldImporter to convertAllObjects (instantiate Bullet objects) without having to reload/parse the .bullet file. Can be useful to quickly destroy and restart a dynamics world

This commit is contained in:
erwin.coumans
2010-05-03 19:49:46 +00:00
parent 8723005cd7
commit c35e72bd9f
2 changed files with 11 additions and 3 deletions

View File

@@ -105,6 +105,9 @@ public:
bool loadFileFromMemory(bParse::btBulletFile* file);
//call make sure bulletFile2 has been parsed, either using btBulletFile::parse or btBulletWorldImporter::loadFileFromMemory
bool convertAllObjects(bParse::btBulletFile* file);
void setVerboseMode(bool verboseDumpAllTypes)
{
m_verboseDumpAllTypes = verboseDumpAllTypes;