Class BroadPhase

The broad-phase used for coarse collision-detection.

To avoid leaking WASM resources, this MUST be freed manually with broadPhase.free() once you are done using it.

Hierarchy

  • BroadPhase

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional raw: RawBroadPhase

    Returns BroadPhase

Properties

raw: RawBroadPhase

Methods

  • Release the WASM memory occupied by this broad-phase.

    Returns void

Generated using TypeDoc