enable to suspend and restore dynamics. also, catched the case where failed dynamics (resulting in infinite AABB sizes) doesn't mess up the entire simulation, it just get's deactivated (with a message that a simulation error happened)

This commit is contained in:
ejcoumans
2006-06-22 03:00:43 +00:00
parent c5fdd98330
commit 2eed545a70
5 changed files with 43 additions and 11 deletions

View File

@@ -171,6 +171,7 @@ void CollisionWorld::RemoveCollisionObject(CollisionObject* collisionObject)
//
GetBroadphase()->CleanProxyFromPairs(bp);
GetBroadphase()->DestroyProxy(bp);
collisionObject->m_broadphaseHandle = 0;
}
}