Bullet Collision Detection & Physics Library
Macros
btCollisionMargin.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONVEX_DISTANCE_MARGIN   btScalar(0.04)
 The CONVEX_DISTANCE_MARGIN is a default collision margin for convex collision shapes derived from btConvexInternalShape. More...
 

Macro Definition Documentation

◆ CONVEX_DISTANCE_MARGIN

#define CONVEX_DISTANCE_MARGIN   btScalar(0.04)

The CONVEX_DISTANCE_MARGIN is a default collision margin for convex collision shapes derived from btConvexInternalShape.

This collision margin is used by Gjk and some other algorithms Note that when creating small objects, you need to make sure to set a smaller collision margin, using the 'setMargin' API

Definition at line 22 of file btCollisionMargin.h.