Physics · function
solveIslandInto
Advance one island through every substep.
Explained in Your first game, Rigid bodies.
function solveIslandInto(state: IslandSolveState, island: number): voidimport { solveIslandInto } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
state | IslandSolveState | |
island | number |
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.