accuracy of collision detection

Post Reply
yamasaki
Posts: 7
Joined: Mon Apr 01, 2013 2:32 am

accuracy of collision detection

Post by yamasaki »

Hi,

I use bullet as collision detection library.
Basically it works fine, but it seems to detect collision excessively.

I want to detect collision accurately without margin.
So I call btCollisionShape::setMargin(0.0f) for each collision shape.
But it still seems to detect collision a little excessively.
Is there anything I must do?

I use btCompoundShape, and btGImpactMeshShape, btCylinderShapeZ, btSphereShape as child shape.

Thank you in advance.
benelot
Posts: 350
Joined: Sat Jul 04, 2015 10:33 am
Location: Bern, Switzerland
Contact:

Re: accuracy of collision detection

Post by benelot »

Do not set zero margin if possible, it causes issues:
http://www.bulletphysics.org/Bullet/php ... =9&t=11165
Post Reply