Matter.Resolver
Defined in: src/collision/Resolver.js:1
The Matter.Resolver
module contains methods for resolving collision pairs.
Methods
Matter.Resolver.postSolvePosition
(bodies)
Apply position resolution.
Parameters
bodies
Body[]
@ src/collision/Resolver.js:118
Matter.Resolver.preSolvePosition
(pairs)
Prepare pairs for position solving.
Parameters
pairs
Pair[]
@ src/collision/Resolver.js:24
Matter.Resolver.preSolveVelocity
(pairs)
Prepare pairs for velocity solving.
Parameters
pairs
Pair[]
@ src/collision/Resolver.js:157
Matter.Resolver.solvePosition
(pairs, timeScale)
Find a solution for pair positions.
Parameters
pairs
Pair[]
timeScale
Number
@ src/collision/Resolver.js:47
Matter.Resolver.solveVelocity
(pairs, timeScale)
Find a solution for pair velocities.
Parameters
pairs
Pair[]
timeScale
Number
@ src/collision/Resolver.js:224