some of my cars were disappearing and I find that it was due to an Aabb overflow, thanks to the comments in btDiscreteDynamicsWorld::updateAabbs().
After investigations, just init the predictedTrans fix it.
But I could not tell you why in some cases it wasn't set properly, and I don't know if I have just moved the bug somewhere else.
Code: Select all
void btDiscreteDynamicsWorld::integrateTransforms(btScalar timeStep)
{
BEGIN_PROFILE("integrateTransforms");
btTransform predictedTrans;
predictedTrans.setIdentity(); <==========