This commit is contained in:
ejcoumans 2006-09-11 05:31:56 +00:00
parent 43370aaa4f
commit 1a6333e709

View File

@ -99,6 +99,7 @@ void CollisionWorld::PerformDiscreteCollisionDetection()
SimdVector3 aabbMin,aabbMax;
for (size_t i=0;i<m_collisionObjects.size();i++)
{
m_collisionObjects[i]->m_cachedInvertedWorldTransform = m_collisionObjects[i]->m_worldTransform.inverse();
m_collisionObjects[i]->m_collisionShape->GetAabb(m_collisionObjects[i]->m_worldTransform,aabbMin,aabbMax);
m_pairCache->SetAabb(m_collisionObjects[i]->m_broadphaseHandle,aabbMin,aabbMax);
}