@modoki/engine / index / disposeAllPhysics2D
Variable: disposeAllPhysics2D
constdisposeAllPhysics2D: () =>void=registry.disposeAll
Free ALL Rapier worlds (called on Play→Stop so the next Play rebuilds fresh).
Free ALL worlds' WASM (called on Play→Stop so the next Play rebuilds fresh).
Returns
void