I'm using Ghosts as described in the wiki : http://bulletphysics.org/mediawiki-1.5. ... hostObject
I also initialize the world with this :
Code: Select all
m_Broadphase->getOverlappingPairCache()->setInternalGhostPairCallback(new btGhostPairCallback());
Code: Select all
btBroadphasePairArray& pairArray = ghostObject->getOverlappingPairCache()->getOverlappingPairArray();
Code: Select all
if (collisionPair->m_algorithm)
collisionPair->m_algorithm->getAllContactManifolds(manifoldArray);
Thanks