public class CollisionConfiguration extends NativePhysicsObject
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger
message logger for this class
|
loggerN| Constructor and Description |
|---|
CollisionConfiguration()
Instantiate an instance with the default parameter values.
|
CollisionConfiguration(int maxManifolds,
int penetrationDepthSolver)
Instantiate an instance with the specified parameter values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
maxManifolds()
Return the size of the persistent-manifold pool (native field:
m_defaultMaxPersistentManifoldPoolSize).
|
int |
penetrationDepthSolver()
Return which penetration-depth solver is used (native field:
m_useEpaPenetrationAlgorithm).
|
compareTo, countTrackers, dumpTrackers, equals, freeUnusedObjects, hasAssignedNativeObject, hashCode, nativeId, reassignNativeId, setNativeId, setNativeIdNotTracked, toString, unassignNativeObjectpublic static final java.util.logging.Logger logger
public CollisionConfiguration()
public CollisionConfiguration(int maxManifolds,
int penetrationDepthSolver)
maxManifolds - the desired size of the persistent-manifold pool
(>0, default=4096)penetrationDepthSolver - 0 for
btMinkowskiPenetrationDepthSolver or 1 for
btGjkEpaPenetrationDepthSolver (default=1)public int maxManifolds()
public int penetrationDepthSolver()
btMinkowskiPenetrationDepthSolver or 1 for
btGjkEpaPenetrationDepthSolver