Hi,
I am going through the "VoronoiFracture" that ships with Bullet, and I have one question about function
void VoronoiFractureDemo::attachFixedConstraints() : the function creates constraints between colliding objects and add them to the dynamics world, HOWEVER at the end it removes these rigidbodies from the dynamics world then re-adds them again? why is that?
i.e. at line 204
for (int i=0;i<bodies.size();i++)
{
m_dynamicsWorld->removeRigidBody(bodies);
m_dynamicsWorld->addRigidBody(bodies);
}
thanks in advance,