# 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.

- Defined in dynamics/island_manager.d.ts:9

#####
Index

### Constructors

constructor

### Properties

raw

### Methods

forEachActiveRigidBodyHandle
free

## Constructors

### constructor

- new IslandManager(raw?): IslandManager

- #### Parameters

  - `Optional` raw: RawIslandManager

  #### Returns IslandManager

  - Defined in dynamics/island_manager.d.ts:15

## Properties

### raw

raw: RawIslandManager

- Defined in dynamics/island_manager.d.ts:10

## Methods

### forEachActiveRigidBodyHandle

- forEachActiveRigidBodyHandle(f): void

- 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

  - Defined in dynamics/island_manager.d.ts:23

### free

- free(): void

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

  #### Returns void

  - Defined in dynamics/island_manager.d.ts:14