Physics · function

solveIslandInto

Advance one island through every substep.

Explained in Your first game, Rigid bodies.

function solveIslandInto(state: IslandSolveState, island: number): void
import { solveIslandInto } from '@driftengine/physics';

Parameters

ParameterTypeDescription
stateIslandSolveState
islandnumber

In depth

Integration is over this island's bodies only, which is what makes the call independent of every other island rather than merely ordered against them.