Apologies for the very often-asked question. I'm working on a simple marble-rolling physics game. Bullet has been great to implement and I've gotten good results very quickly.
Version one of the game used a btStaticPlaneShape for the resting base and a btConvexHullShape (a cylinder that I found the code for on these forums) to provide the boundary surround. Marbles were just basic implicit btSphereShape objects. Everything worked very nicely, no tunnelling or problems.
For version two, I'm looking to change this setup to use meshes or some other implementation that gives me an asset pipeline that means I can build more complex levels. I've experimented with a btTriangleMesh and a btHeightFieldTerrainShape for the floor/base - and a btTriangleMesh for the surround. As soon as I switch to these constructs, I get tunnelling happening with my spheres, when they reach high velocities.
Video here:
http://www.youtube.com/watch?v=HEMpBVIj8UgI'm trying to resolve this - but hoped that someone might be able to offer some advice or links to code examples to try out. I'm guessing that I need to look into a more complex collision detection set-up - but as this is my first time using Bullet, I'm struggling a little with where to go next. I've looked at a lot of posts on the forum and the FAQ and I'm a little stuck with implementing (for example) continuous collision detection.
Thanks very much for any help/advice.