This works ok except for one thing.
http://blenderartists.org/forum/showthr ... 081&page=4
Replacing the mesh of an object has no impact if another object is resting on it (even with no-sleep option from blender enabled).
The solution to this I found was to run..
Code: Select all
btSoftRigidDynamicsWorld* dw= GetPhysicsEnvironment()->getDynamicsWorld();
dw->removeCollisionObject(m_object);
dw->addCollisionObject(m_object, GetCollisionFilterGroup(), GetCollisionFilterMask());
Whilst this is possible Id really rather avoid doing it, Is there some way to refresh an object and make all objects resting on it re-check their collision state again?