btHashedOverlappingPairCache::processAllOverlappingPairs calls
btCollisionPairCallback::processOverlap. If it returns true then
processAllOverlappingPairs would remove a contact pair. However, the
callback actually can't return true but will always return false.
btCollisionPairCallback:
virtual bool btCollisionPairCallback::processOverlap(btBroadphasePair& pair)
{
(*m_dispatcher->getNearCallback())(pair,*m_dispatcher,m_dispatchInfo);
return false;
}
The solution would be to let the nearCallback return a BOOL to determine if
the pair should be removed.
This functionality is important to get rid of no more used collisions pairs
when having custom collision filtering with the nearCallback.
Original issue reported on code.google.com by linz...@gmx.de on 22 Jan 2010 at 1:38
Original issue reported on code.google.com by
linz...@gmx.de
on 22 Jan 2010 at 1:38