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.
accuracy of collision detection
-
- Posts: 350
- Joined: Sat Jul 04, 2015 10:33 am
- Location: Bern, Switzerland
Re: accuracy of collision detection
Do not set zero margin if possible, it causes issues:
http://www.bulletphysics.org/Bullet/php ... =9&t=11165
http://www.bulletphysics.org/Bullet/php ... =9&t=11165