Small World Engine API Reference - v0.78.00
    Preparing search index...

    Interface ContactSolverContext

    Per-step dependencies injected by the owner system (keeps the public API surface there).

    interface ContactSolverContext {
        events: EventDispatcherImpl;
        fixedTimeStep: number;
        gravityLength: number;
        solverIterations: number;
        syncTransform: (obj: Object3D, posCorr: Vector3D) => void;
    }
    Index
    fixedTimeStep: number
    gravityLength: number
    solverIterations: number
    syncTransform: (obj: Object3D, posCorr: Vector3D) => void

    Applies a positional correction to a dynamic body and refreshes its transform/bounds.