Collision between btCapsuleShape and btBvhTriangleMeshShape
Posted: Sat Feb 11, 2012 3:23 pm
Using bullet 2.79.
I have two objects: my character is the btCapsuleShape, and a 2D terrain (my game is a platformer) is a btBvhTriangleMeshShape.
The above collision works fine in Debug, however on Release the character just falls right through the terrain. Collisions get detected, my handler for collision points added gets called and outputs to my debug window informing me of the collisions. It's just that the forces are not there?
I can see the collision meshes in my game, I've implemented the btIDebugDraw. It's just that I have no idea where to start with the debugging.
Is collision between these two shapes not officially supported or something? Any suggestions as to how this might be debugged?
I have two objects: my character is the btCapsuleShape, and a 2D terrain (my game is a platformer) is a btBvhTriangleMeshShape.
The above collision works fine in Debug, however on Release the character just falls right through the terrain. Collisions get detected, my handler for collision points added gets called and outputs to my debug window informing me of the collisions. It's just that the forces are not there?
I can see the collision meshes in my game, I've implemented the btIDebugDraw. It's just that I have no idea where to start with the debugging.
Is collision between these two shapes not officially supported or something? Any suggestions as to how this might be debugged?