Show:
API

Matter.Resolver

The Matter.Resolver module contains methods for resolving collision pairs.

Methods

Matter.Resolver.postSolvePosition

(bodies)

Apply position resolution.

Parameters

Matter.Resolver.preSolvePosition

(pairs)

Prepare pairs for position solving.

Parameters

Matter.Resolver.preSolveVelocity

(pairs)

Prepare pairs for velocity solving.

Parameters

Matter.Resolver.solvePosition

(pairs, delta, [damping=1])

Find a solution for pair positions.

Parameters

Matter.Resolver.solveVelocity

(pairs, delta)

Find a solution for pair velocities.

Parameters