NULL-value for algorithm in btCompoundCollisionAlgorithm

Post Reply
mr73412
Posts: 2
Joined: Wed Sep 21, 2016 7:00 am

NULL-value for algorithm in btCompoundCollisionAlgorithm

Post by mr73412 »

Hi,

I'm currently trying to implement picking with Bullet physics using a ghost object. To determine which object is the closest to the ghost I use an adaption of the approach that is described here: http://www.bulletphysics.org/mediawiki- ... d_Triggers.

However, in some cases I do not get any manifolds from the call to collisionPair->m_algorithm->getAllContactManifolds. After debugging into the code I found out that the btCompoundCollisionAlgorithm, which is used for my objects, does only have a NULL-value in the m_childCollisionAlgorithms member.

It seems that this problem occurs randomly, or at least I could not find out when this happens.

Does anybody have an idea what is wrong here?

Thanks
Post Reply