Skip to content

FixedAccumulatorTickSourceOptions

Defined in: src/modules/tick/fixed-accumulator-tick-source.ts:6

Configuration for FixedAccumulatorTickSource.

fixedDtMs: number

Defined in: src/modules/tick/fixed-accumulator-tick-source.ts:8

Simulation step size, in milliseconds. Must be positive and finite.


optional maxStepsPerFrame?: number

Defined in: src/modules/tick/fixed-accumulator-tick-source.ts:14

Maximum catch-up steps per advance() call. Any time still owed after this many steps is dropped, which is what prevents the spiral of death. Defaults to 8, matching Godot’s max_physics_steps_per_frame.