Optional
raw: RawSerializationPipelineSerialize a complete physics state into a single byte array.
The current gravity affecting the simulation.
The integration parameters of the simulation.
The broad-phase of the simulation.
The narrow-phase of the simulation.
The rigid-bodies taking part into the simulation.
The colliders taking part into the simulation.
The impulse joints taking part into the simulation.
The multibody joints taking part into the simulation.
A pipeline for serializing the physics scene.
To avoid leaking WASM resources, this MUST be freed manually with
serializationPipeline.free()
once you are done using it (and all the rigid-bodies it created).