Class IslandManager

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.

Hierarchy

  • IslandManager

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: number) => void)

      The closure to apply.

        • (handle: number): void
        • Parameters

          • handle: number

          Returns void

    Returns void

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

    Returns void

Generated using TypeDoc