Module: physics/solvers/solver
Type aliases
CollisionSolver
ฦฌ CollisionSolver: (m
: Manifold
, delta?
: number
, currIteration?
: number
, maxIterations?
: number
) => void
Type declaration
โธ (m
, delta?
, currIteration?
, maxIterations?
): void
Solves an aspect of a collision described by a Manifold.
Parameters
Name | Type |
---|---|
m | Manifold |
delta? | number |
currIteration? | number |
maxIterations? | number |
Returns
void
Defined in
src/physics/solvers/solver.ts:9
ConstraintSolver
ฦฌ ConstraintSolver: (constraint
: Constraint
, delta?
: number
) => void
Type declaration
โธ (constraint
, delta?
): void
Parameters
Name | Type |
---|---|
constraint | Constraint |
delta? | number |
Returns
void
Defined in
src/physics/solvers/solver.ts:16
DynamicsSolver
ฦฌ DynamicsSolver: (obj
: RigidBody
, delta?
: number
, gravity?
: vec2
) => void
Type declaration
โธ (obj
, delta?
, gravity?
): void
Solves a property of the dynamics of a RigidBody.
Parameters
Name | Type |
---|---|
obj | RigidBody |
delta? | number |
gravity? | vec2 |
Returns
void
Defined in
src/physics/solvers/solver.ts:14