Cannot slide correctly against btBvhTriangleMeshShape
Posted: Wed Apr 07, 2010 11:19 pm
So we're having this annoying problem where our character's cannot slide smoothly against a btBvhTriangleMeshShape. Our characters constantly get hung up or entirely stuck when pressing up against a wall while trying to move forward along it, and often cannot move forward unless they directly pull away from the wall. This makes navigating around tight spaces an almost impossible task. Also, it appears that this is not just the internal edge problem that has plagued so many others. This behavior will happen in the middle of triangles, not just the edges between triangles; though it is worst on triangle edges.
Our character's are a compound shape made out of two capsules (one for the character and one for their gun). We are not using the Bullet character controller, but rather just applying forces to the capsule to move it around. We've tried futzing with a lot of the object parameters to get better behavior (set contact processing threshold to 0, set friction to 0, etc...), but nothing seems to fix the problem. As a note, our characters can slide just fine along other shapes such as btBoxShape, so it seems it's just an issue with btBvhTriangleMeshShape.
Any help with this would be greatly appreciated!
Our character's are a compound shape made out of two capsules (one for the character and one for their gun). We are not using the Bullet character controller, but rather just applying forces to the capsule to move it around. We've tried futzing with a lot of the object parameters to get better behavior (set contact processing threshold to 0, set friction to 0, etc...), but nothing seems to fix the problem. As a note, our characters can slide just fine along other shapes such as btBoxShape, so it seems it's just an issue with btBvhTriangleMeshShape.
Any help with this would be greatly appreciated!