setInternalGhostPairCallback clarification

User avatar
SynapticBytes
Posts: 74
Joined: Thu Feb 10, 2011 8:27 pm

setInternalGhostPairCallback clarification

Post by SynapticBytes »

I've searched for ages trying to find a definite answer to this, but I'm still not sure. When using Ghost objects, is the setInternalGhostPairCallback() call required once for every ghost created, or only once for the whole world? Every example I've found only has 1 ghost in it, so I'm not sure.

Thanks.
user64
Posts: 14
Joined: Fri Jan 28, 2011 9:03 pm

Re: setInternalGhostPairCallback clarification

Post by user64 »

call it only once
user64
Posts: 14
Joined: Fri Jan 28, 2011 9:03 pm

Re: setInternalGhostPairCallback clarification

Post by user64 »

to make sure see .../btOverlappingPairCache.h
User avatar
SynapticBytes
Posts: 74
Joined: Thu Feb 10, 2011 8:27 pm

Re: setInternalGhostPairCallback clarification

Post by SynapticBytes »

Cool thanks.