disable sphere-sphere collision algorithm, it is buggy.

See also http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=12&t=2636
This commit is contained in:
erwin.coumans 2008-09-20 01:59:06 +00:00
parent a7c83d01b9
commit 56d88e18f8

View File

@ -216,11 +216,12 @@ btCollisionAlgorithmCreateFunc* btDefaultCollisionConfiguration::getCollisionAlg
#ifdef USE_BUGGY_SPHERE_BOX_ALGORITHM
if ((proxyType0 == SPHERE_SHAPE_PROXYTYPE) && (proxyType1==SPHERE_SHAPE_PROXYTYPE))
{
return m_sphereSphereCF;
//return m_sphereSphereCF;
}
#ifdef USE_BUGGY_SPHERE_BOX_ALGORITHM
if ((proxyType0 == SPHERE_SHAPE_PROXYTYPE) && (proxyType1==BOX_SHAPE_PROXYTYPE))
{
return m_sphereBoxCF;