Package com.jme3.bullet
Enum Class SolverType
- All Implemented Interfaces:
Serializable
,Comparable<SolverType>
,Constable
Enumerate the available contact-and-constraint solvers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionbtDantzigSolver: Mixed Linear Complementarity Problem (MLCP) direct solver using the Dantzig AlgorithmbtLemkeSolver: accurate-but-slow MLCP direct solver using Lemke’s Algorithm (see "Fast Implementation of Lemke’s Algorithm for Rigid Body Contact Simulation" by John E.btNNCGConstraintSolver: using the Non-smooth Nonlinear Conjugate Gradient (NNCG) methodbtSolveProjectedGaussSeidel: slow MLCP direct solver using projected Gauss-Seidel (PGS) for debug/learning purposesbtSequentialImpulseConstraintSolver/btMultiBodyConstraintSolver: Bullet's original sequential-impulse solver -
Method Summary
Modifier and TypeMethodDescriptionstatic SolverType
Returns the enum constant of this class with the specified name.static SolverType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SI
btSequentialImpulseConstraintSolver/btMultiBodyConstraintSolver: Bullet's original sequential-impulse solver -
Dantzig
btDantzigSolver: Mixed Linear Complementarity Problem (MLCP) direct solver using the Dantzig Algorithm -
Lemke
btLemkeSolver: accurate-but-slow MLCP direct solver using Lemke’s Algorithm (see "Fast Implementation of Lemke’s Algorithm for Rigid Body Contact Simulation" by John E. Lloyd)Seems to require a global CFM > 0.
-
PGS
btSolveProjectedGaussSeidel: slow MLCP direct solver using projected Gauss-Seidel (PGS) for debug/learning purposes -
NNCG
btNNCGConstraintSolver: using the Non-smooth Nonlinear Conjugate Gradient (NNCG) method
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-