AutoMovie API
    Preparing search index...

    Interface IAutoMovieSoftBodyState

    The complete state of a soft-body domain at one absolute step.

    Static evaluation restarts from the domain and selected named state before integrating to the absolute step. Boundary-aware evaluation additionally consumes a complete resolved moving-anchor/capsule history from zero through that step; changing the history changes the trajectory. Replaying the same complete input basis does not depend on a mutable playback cursor, and the boundary-aware path currently has test callers rather than a wired production/viewer host.

    Particle arrays are flat and row-major: particle k = row * columns + column occupies [3k, 3k + 1, 3k + 2].

    interface IAutoMovieSoftBodyState {
        contacts: number;
        domain: string;
        maxSpeed: number;
        maxStrain: number;
        positions: number[];
        state: string | null;
        step: number;
        time: number;
        velocities: number[];
    }
    Index
    contacts: number

    Particle-collider resolutions applied during the last integrated step.

    Zero at step zero because no integration step has applied a projection. This does not establish that the rest mesh is clear of every collider.

    domain: string

    Identity of the domain this state belongs to.

    maxSpeed: number

    Maximum of direct-square particle speed calculations in this state, in m/s; finite velocity components can still overflow that norm.

    Measured evidence against IAutoMovieSoftSolver.referenceSpeed: the declared budget is what the travel condition was checked against, and this is what actually happened, so a reviewer can see whether the declaration held instead of taking it on trust.

    maxStrain: number

    Maximum accumulated structural strain, computed as |d − L| / L from direct-square particle distances.

    With finite representable distance and strain arithmetic, 0 means the structural distances equal their authored rest lengths in this state. There is no separate finite-result gate here: a NaN comparison does not update the initially zero maximum. This field does not establish material inextensibility, measure diagonal/bend strain or certify a later state.

    positions: number[]

    World particle positions [x, y, z, ...] in metres, row-major.

    state: string | null

    Named state whose anchor poses were applied, or null for the default.

    step: number

    Absolute integer step index; 0 includes static/named anchor overrides and any supplied boundary-zero targets of the rest mesh.

    time: number

    Absolute domain-clock second, exactly step * solver.fixedStepSeconds.

    velocities: number[]

    World particle velocities [x, y, z, ...] in m/s, row-major.