Odd btBvhTriangleMeshShape collision behavior

chucksspencer
Posts: 35
Joined: Wed Jun 25, 2008 2:52 pm

Odd btBvhTriangleMeshShape collision behavior

Post by chucksspencer »

I've got some odd behavior with a btBvhTriangleMeshShape that I can't nail down. Certain parts of the mesh deal with collision just fine, other parts of the mesh don't collide properly. I made a little swf video showing exactly what I mean:

http://www.hypercosm.com/Temp/2009-02-25_1529.swf

Anyone have any ideas? Does the mesh triangulation look ok? I saw the previous post and I'm about to look into the Ccd and tunneling possibilities.
chucksspencer
Posts: 35
Joined: Wed Jun 25, 2008 2:52 pm

Re: Odd btBvhTriangleMeshShape collision behavior

Post by chucksspencer »

I'll add that I experimented extensively with the setCcdSquareMotionThreshold and setCcdSweptSphereRadius - no help. The problem doesn't seem to be related to how fast the dynamic shape is moving - it penetrates even if I'm moving it very slowly.