Skip to content

@modoki/engine / index / disposePhysics3D

Variable: disposePhysics3D

const disposePhysics3D: (world) => void = registry.dispose

Free the Rapier3D world for a koota world (test afterEach / scene teardown / zero-body early-out).

Free one world's WASM + drop it from the map (scene teardown / test afterEach / early-out).

Parameters

world

World

Returns

void

Built with Modoki.