AutoMovie API
    Preparing search index...

    Interface IAutoMovieSoftSolver

    Fixed-step integration settings and declared seek budgets.

    interface IAutoMovieSoftSolver {
        compliance?: IAutoMovieSoftCompliance | null;
        drag: number;
        fixedStepSeconds: number;
        gravity: IAutoMovieVector3;
        iterations: number;
        maxSteps: number;
        referenceSpeed: number;
        stiffness: IAutoMovieSoftStiffness;
    }
    Index
    compliance?: IAutoMovieSoftCompliance | null

    Each constraint family's compliance, metres per newton, which switches the solve to compliant constraints with a Lagrange multiplier each (XPBD), projected one after another: the stiffness then does not depend on iterations or fixedStepSeconds, and the force a held particle bears can be read. Absent or null keeps the plain position-based solve with stiffness, unchanged.

    drag: number

    Linear velocity damping in 1/s, applied implicitly as v / (1 + dt·drag), which is how cloth loses energy to the air around it. 0 is undamped.

    fixedStepSeconds: number

    Integration step in seconds; strictly positive.

    Uniform body acceleration in m/s², normally standard gravity, { x: 0, y: -9.80665, z: 0 }. A vector rather than a magnitude so a panel can be solved in a tilted frame without rewriting its rest mesh.

    iterations: number

    Constraint relaxation sweeps per step; an integer of at least 1. Each sweep repeats the simultaneous weighted distance correction at linear cost; a larger count does not establish monotonic strain reduction or exact inextensibility.

    maxSteps: number

    Highest absolute step index a sample may integrate to. It bounds the work one seek can cost, so a shot cannot silently ask for an unbounded solve.

    referenceSpeed: number

    Declared design speed in m/s, strictly positive, used in the travel estimate dt * referenceSpeed / shortestStructuralRestLength. The solver does not clamp observed speed to this value, and lattice spacing does not establish that a discrete step cannot tunnel through a thinner collider.

    How hard each constraint family pulls, each in [0, 1]: the relaxation weights of the plain position-based sweeps, read only when compliance is absent.