Problems using btConvexHullShape and btBvhTriangleMeshShape
Posted: Mon Nov 19, 2012 8:46 pm
I have a system where I am pushing a block along a surface. If I make the surface out of a large btBoxShape, the block moves just fine. When I make the surface out of a btBvhTriangleMeshShape the block starts hoping as it slides across the surface. When I make the surface out of a btConvexHullShape, the block slides ok, but it does get some rotation from the surface.
Right now the surface is a flat surface in the shape of an oval. Eventually I would like to have it have some variations in height.
The next problem I have is very similar. Along the edges of the oval there are walls. I have also made the walls out of a btConvexHullShape. Each was segment is 2 triangles. As of now the block can go through the wall pretty easily. Is there a better way to do this?
thank you.
Right now the surface is a flat surface in the shape of an oval. Eventually I would like to have it have some variations in height.
The next problem I have is very similar. Along the edges of the oval there are walls. I have also made the walls out of a btConvexHullShape. Each was segment is 2 triangles. As of now the block can go through the wall pretty easily. Is there a better way to do this?
thank you.