|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.common.Settings
public class Settings
Global tuning constants based on MKS units and various integer maximums (vertices per shape, pairs, etc.).
Field Summary | |
---|---|
static float |
angularSleepTolerance
A body cannot sleep if its angular velocity is above this tolerance. |
static float |
angularSlop
A small angle used as a collision and constraint tolerance. |
static float |
contactBaumgarte
This scale factor controls how fast overlap is resolved. |
static float |
EPSILON
A "close to zero" float epsilon value for use |
static float |
lengthUnitsPerMeter
|
static float |
linearSleepTolerance
A body cannot sleep if its linear velocity is above this tolerance. |
static float |
linearSlop
A small length used as a collision and constraint tolerance. |
static float |
massUnitsPerKilogram
|
static float |
maxAngularCorrection
The maximum angular position correction used when solving constraints. |
static float |
maxAngularVelocity
The maximum angular velocity of a body. |
static float |
maxAngularVelocitySquared
|
static float |
maxLinearCorrection
The maximum linear position correction used when solving constraints. |
static float |
maxLinearVelocity
The maximum linear velocity of a body. |
static float |
maxLinearVelocitySquared
|
static int |
maxManifoldPoints
|
static int |
maxPairs
Must be a power of two. |
static int |
maxPolygonVertices
|
static int |
maxProxies
Must be a power of two. |
static int |
maxShapesPerBody
|
static int |
maxTOIContactsPerIsland
Maximum number of contacts to be handled to solve a TOI island. |
static int |
maxTOIJointsPerIsland
Maximum number of joints to be handled to solve a TOI island. |
static float |
pi
Pi. |
static float |
timeToSleep
The time that a body must be still before it will go to sleep. |
static float |
timeUnitsPerSecond
|
static float |
toiSlop
Continuous collision detection (CCD) works with core, shrunken shapes. |
static float |
velocityThreshold
A velocity threshold for elastic collisions. |
Constructor Summary | |
---|---|
Settings()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float EPSILON
public static final float pi
public static final float lengthUnitsPerMeter
public static final float massUnitsPerKilogram
public static final float timeUnitsPerSecond
public static final int maxManifoldPoints
public static final int maxShapesPerBody
public static final int maxPolygonVertices
public static final int maxProxies
public static final int maxPairs
public static final float linearSlop
public static final float angularSlop
public static final float velocityThreshold
public static final float maxLinearCorrection
public static final float maxAngularCorrection
public static final float contactBaumgarte
public static final float timeToSleep
public static final float linearSleepTolerance
public static final float angularSleepTolerance
public static final float toiSlop
public static final float maxLinearVelocity
public static final float maxLinearVelocitySquared
public static final float maxAngularVelocity
public static final float maxAngularVelocitySquared
public static int maxTOIContactsPerIsland
public static int maxTOIJointsPerIsland
Constructor Detail |
---|
public Settings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |