Hi!
I am using a btBvhTriangleMeshShape to do a terrain and modify it in real time. When modify the terrain, I can move vertexs where I want, however, the physics don't work like expected (for example, if have a plane and move the vertex so I make a hill, if drop some object over the hill this will go through the hill). To update the shape I am using the method partialRefitTree (and then clean the overlapping pair cache in the broadphase), like in the ConcaveDemo example. I note if use the refitTree method (using the full aabb extension), the physics works fine.
So the question is, I am missing something? or the partialRefitTree method is broken? (or maybe must be used in another way respect the demo?)
Thanks!!