Custom btDynamicsWorld

mirat

02-06-2008 09:14:45

Hello!

I need to make a DynamicsWorld class use custom btDynamcsWorld created by myself. I found createBtDynamicsWorld template method, but it requires mDispatcher, mBroadphase and mConstraintsolver to be initialized, that isn't possible, because they are private.

I had to change the DynamicsWorld's declaration by adding method setBulletDynamicsWorld(). Are there any other ways?