Compound vs GIMPACT collisions

benjones
Posts: 2
Joined: Wed Dec 31, 2014 6:41 pm

Compound vs GIMPACT collisions

Post by benjones »

I've got compound collision shape containing both tetrahedra and a triangle mesh. Based on the simulation behavior and from what I can glean from my profiler, the GIMPACT collision functions are never getting called. I'm registering the GIMPACT algorithm with:

btGImpactCollisionAlgorithm::registerAlgorithm(dispatcher);

where dispatcher is a standard btCollisionDispatcher. Is there some way to register it with the compound algorithm so that it gets used? The other shapes in the compound are colliding as expected.

A few weeks ago before I added the compound shapes, GIMPACT/GIMPACT collisions were working correctly.

Thanks
benjones
Posts: 2
Joined: Wed Dec 31, 2014 6:41 pm

Re: Compound vs GIMPACT collisions

Post by benjones »

Whoops, I wasn't updating the bounding boxes properly. Fixed.