ReadonlyadapterThe solver adapter's name at capture time, e.g. "rapier2d".
ReadonlyadapterThe solver adapter's version at capture time.
Optional ReadonlyconfigurationThe world configuration the bytes were captured under — §34's "a snapshot is valid only for the same adapter, adapter version, and world configuration" (2026-08-06, PH-6).
unknown, deliberately: PhysicsSnapshot types this as
PhysicsSnapshotConfiguration, and naming that type would need an edge to
@fourjs/physics this package may not have. The recorder validates it as
JSON and carries it (@fourjs/diagnostics!ReplayRecording.worldConfiguration);
the player hands it back; only the solver reads a field of it.
Optional because two legitimate producers cannot supply one: a target that has no configuration to report, and snapshots this package reconstructs from a recording that predates the field.
ReadonlydataThe adapter's opaque bytes (§34).
A solver snapshot plus §34's validity key.
Structurally identical to
@fourjs/physics'sPhysicsSnapshot; see the module note on why it is re-declared instead of imported.