Skip to main content

CollisionSolver

A collision solver figures out how to position colliders such that they are no longer overlapping

Solvers are executed in the order

  1. preSolve
  2. solveVelocity
  3. solvePosition
  4. postSolve
@inheritDoc

Implemented by

Index

Methods

Methods

solve

  • Solves overlapping contact in

    Solvers are executed in the order

    1. preSolve
    2. solveVelocity
    3. solvePosition
    4. postSolve

    Parameters

    Returns CollisionContact[]

Page Options