Networking · function

createFixture

The pair of arms, sharing one sine table and one starting state.

Explained in Networking and rollback.

function createFixture(math: FixtureMath):
import { createFixture } from '@driftengine/network';

Parameters

ParameterTypeDescription
mathFixtureMath

In depth

runFloat uses only what scripts/determinism.mjs permits: arithmetic, Math.sqrt, and the supplied transcendentals. runFixed uses only simNumber.