Skip to content

@modoki/engine / index / disposePhysics2D

Variable: disposePhysics2D

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

Free the Rapier 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.