marble3 / Physics
Type Alias: Physics
Physics =
object
Defined in: src/physics.ts:10
A Bullet world and the function that frees it; what CreatePhysics() returns.
Properties
dispose
dispose: () =>
void
Defined in: src/physics.ts:16
Frees the world and the Bullet objects behind it, which no garbage collector reclaims. Remove and dispose every body first.
Returns
void
world
world:
bullet.btDiscreteDynamicsWorld
Defined in: src/physics.ts:11