ContactSolver class

Constructors

ContactSolver()

Properties

worldManifold WorldManifold
final
xfA Transform
final
xfB Transform
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

init(ContactSolverDef def) → void
initializeVelocityConstraints() → void
solvePositionConstraints() bool
Sequential solver.
solveTOIPositionConstraints(int toiIndexA, int toiIndexB) bool
solveVelocityConstraints() → void
storeImpulses() → void
warmStart() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

k_maxConditionNumber double
Ensure a reasonable condition number. for the block solver
final

Constants

DEBUG_SOLVER → const bool
false
INITIAL_NUM_CONSTRAINTS → const int
For each solver, this is the initial number of constraints in the array, which expands as needed.
256
k_errorTol → const double
1e-3