btBvhTriangleMeshShape jittering
Posted: Mon Feb 13, 2012 9:33 am
Hi,
I have a simple flat long box mesh that has many triangles. As an experiment, I am building the static body collision shape as a btBvhTriangleMeshShape. When I try to move a cube along this flat box, the box would jitter across. If I use a regular box collision shape, it would box very smoothly.
Since I want to use btBvhTriangleMeshShape, as I want to use more complicated static meshes, is there a way to fix this jittering for btBvhTriangleMeshShape collision shapes?
I've searched through the forums, and it seems like it could be some error with the collision normals between objects for btBvhTriangleMeshShape shapes, but there were no resolution to that thread. (http://bulletphysics.org/Bullet/phpBB3/ ... f=9&t=1814)
Any help is much appreciated.
Thanks.
I have a simple flat long box mesh that has many triangles. As an experiment, I am building the static body collision shape as a btBvhTriangleMeshShape. When I try to move a cube along this flat box, the box would jitter across. If I use a regular box collision shape, it would box very smoothly.
Since I want to use btBvhTriangleMeshShape, as I want to use more complicated static meshes, is there a way to fix this jittering for btBvhTriangleMeshShape collision shapes?
I've searched through the forums, and it seems like it could be some error with the collision normals between objects for btBvhTriangleMeshShape shapes, but there were no resolution to that thread. (http://bulletphysics.org/Bullet/phpBB3/ ... f=9&t=1814)
Any help is much appreciated.
Thanks.