The CCD solver responsible for resolving Continuous Collision Detection.

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

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional raw: RawIslandManager

    Returns IslandManager

Properties

raw: RawIslandManager

Methods

  • Applies the given closure to the handle of each active rigid-bodies contained by this set.

    A rigid-body is active if it is not sleeping, i.e., if it moved recently.

    Parameters

    • f: ((handle) => void)

      The closure to apply.

        • (handle): void
        • Parameters

          • handle: number

          Returns void

    Returns void

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

    Returns void