Skip to content

marble3 / CreatePhysics

Function: CreatePhysics() ​

CreatePhysics(): Physics

Defined in: src/physics.ts:23

Creates a Bullet dynamics world with gravity along −y. An FPS makes its own; call this for physics without a renderer, in a test or a worker.

Returns ​

Physics