Skip to content

@modoki/engine / index / disposeAllPhysics3D

Variable: disposeAllPhysics3D

const disposeAllPhysics3D: () => void = registry.disposeAll

Free ALL Rapier3D 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

Built with Modoki.