ghostObject and softBody collision

Dena
Posts: 4
Joined: Thu Nov 20, 2008 5:17 pm

ghostObject and softBody collision

Post by Dena »

In my application there is a m_ghostObject and btSoftBody (Init_Bunny).

Why my m_ghostObject go through btSoftBody?
Why I don't recive the getContactPoint with btSoftBody but only with others?
There is a way to get contant?

please help me!!!!!!!!!!!!!! :( :(
Dena
Posts: 4
Joined: Thu Nov 20, 2008 5:17 pm

Re: ghostObject and softBody collision

Post by Dena »

I can obtain manifoldArray with contact ghost and softbody using:

Code: Select all

btBroadphasePair* collisionPair = m_broadphase->getOverlappingPairCache()->getOverlappingPairArrayPtr();
instead of

Code: Select all

btBroadphasePair* collisionPair = m_broadphase->getOverlappingPairCache()->findPair(pair.m_pProxy0,pair.m_pProxy1);
Why there is a difference between the results?