# Class IntegrationParameters

- Defined in dynamics/integration_parameters.d.ts:2

#####
Index

### Constructors

constructor

### Properties

raw

### Accessors

contact_erp
contact_natural_frequency
dt
lengthUnit
maxCcdSubsteps
minIslandSize
normalizedAllowedLinearError
normalizedPredictionDistance
numInternalPgsIterations
numSolverIterations

### Methods

free

## Constructors

### constructor

- new IntegrationParameters(raw?): IntegrationParameters

- #### Parameters

  - `Optional` raw: RawIntegrationParameters

  #### Returns IntegrationParameters

  - Defined in dynamics/integration_parameters.d.ts:4

## Properties

### raw

raw: RawIntegrationParameters

- Defined in dynamics/integration_parameters.d.ts:3

## Accessors

### contact_erp

- get contact_erp(): number

- The Error Reduction Parameter in `[0, 1]` is the proportion of the positional error to be corrected at each time step (default: `0.2`).

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:17

### contact_natural_frequency

- set contact_natural_frequency(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:48

### dt

- get dt(): number

- The timestep length (default: `1.0 / 60.0`)

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:12
- set dt(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:47

### lengthUnit

- get lengthUnit(): number

- #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:18
- set lengthUnit(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:49

### maxCcdSubsteps

- get maxCcdSubsteps(): number

- Maximum number of substeps performed by the solver (default: `1`).

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:46
- set maxCcdSubsteps(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:61

### minIslandSize

- get minIslandSize(): number

- Minimum number of dynamic bodies in each active island (default: `128`).

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:42
- set minIslandSize(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:60

### normalizedAllowedLinearError

- get normalizedAllowedLinearError(): number

- Normalized amount of penetration the engine won’t attempt to correct (default: `0.001m`).

  This threshold considered by the physics engine is this value multiplied by the `lengthUnit`.

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:24
- set normalizedAllowedLinearError(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:50

### normalizedPredictionDistance

- get normalizedPredictionDistance(): number

- The maximal normalized distance separating two objects that will generate predictive contacts (default: `0.002`).

  This threshold considered by the physics engine is this value multiplied by the `lengthUnit`.

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:30
- set normalizedPredictionDistance(value): void

- #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:51

### numInternalPgsIterations

- get numInternalPgsIterations(): number

- Number of internal Project Gauss Seidel (PGS) iterations run at each solver iteration (default: `1`).

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:38
- set numInternalPgsIterations(value): void

- Sets the number of internal Project Gauss Seidel (PGS) iterations run at each solver iteration (default: `1`).

  #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:59

### numSolverIterations

- get numSolverIterations(): number

- The number of solver iterations run by the constraints solver for calculating forces (default: `4`).

  #### Returns number

  - Defined in dynamics/integration_parameters.d.ts:34
- set numSolverIterations(value): void

- Sets the number of solver iterations run by the constraints solver for calculating forces (default: `4`).

  #### Parameters

  - value: number

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:55

## Methods

### free

- free(): void

- Free the WASM memory used by these integration parameters.

  #### Returns void

  - Defined in dynamics/integration_parameters.d.ts:8