ReadonlycacheComplete replay state.
Optional ReadonlycoupledConverged coupled-group target fits by output step and group id; omitted when no target declares a group.
ReadonlyinputOwned sampled inputs establishing checkpoint equivalence.
ReadonlyrecomputedNative fixed steps performed by this run.
ReadonlytrackingPre-solve PD demands exceeding the native enforced motor torque cap.
Measure authored-relative joint errors at local film seconds.
Errors are shortest relative-rotation distances in radians. Saturation lists are the last completed step's pre-solve torque-cap forecasts, not measured native motor impulses. Invalid time is rejected by cache.at.
StaticcomputeCompute or resume a complete film from an admitted input snapshot.
An equal full identity returns previous unchanged. Otherwise a compatible unchanged prefix can resume from a native/controller/balance checkpoint; fully kinematic inputs generate frames without a native dynamics world. Progress reports completed intervals synchronously. Cancellation or an error rejects rather than returning a partial successful performance. Each declared coupled group fits its members against one snapshot. The result keeps every converged report, and a resumed run keeps the reports of its reused prefix. A failed group throws its typed error.
Optionalprevious: IAutoMoviePhysicalSimulationOptionalsignal: AbortSignalOptionalprogress: (completed: number, total: number) => voidStaticidentityAdmit an owned snapshot and identify its complete sampled input.
Clones the input, supplies the same defaults as compute and rejects invalid physical settings/targets before hashing. The digest includes cache policy and solver-version identity; this path initializes no native solver.
Precompute fixed-step physics, then replay by time. Inputs are sampled bytes, not callbacks hidden behind a cache key. The run frees its assigned WASM World and event queue on exit; restoration allocates before that transfer. A late edit reuses a checkpoint only after every earlier input matches; changed geometry, solver settings or modes require a complete restart.