Hello,
I have a flat surface represented as a btBvhTriangleMeshShape because I have some holes in it, and it is not performing as I expected. I also have a sliding object(a btCylinderShape) that slides on the flat surface.
My problem is that the cylinder does not slide smoothly on the flat surface, it jumps now and then( I think that when hitting the line between two triangles that make up the flat surface ).
Is there a solution to this?
btBvhTriangleMeshShape problem
-
- Posts: 31
- Joined: Tue Apr 26, 2011 5:52 pm
Re: btBvhTriangleMeshShape problem
This is due to the contact response on internal edges. The solution has been posted many time. Check this thread and implement the solution exactly as Argez showed. This should fix your cylinder jumpiness.
http://bulletphysics.org/Bullet/phpBB3/ ... dge#p24566
http://bulletphysics.org/Bullet/phpBB3/ ... dge#p24566
-
- Posts: 5
- Joined: Wed Aug 17, 2011 4:06 pm
Re: btBvhTriangleMeshShape problem
Thank you very much, zarlox.zarlox wrote:This is due to the contact response on internal edges. The solution has been posted many time. Check this thread and implement the solution exactly as Argez showed. This should fix your cylinder jumpiness.
http://bulletphysics.org/Bullet/phpBB3/ ... dge#p24566