FixedAccumulatorTickSourceOptions
Defined in: src/modules/tick/fixed-accumulator-tick-source.ts:6
Configuration for FixedAccumulatorTickSource.
Properties
Section titled “Properties”fixedDtMs
Section titled “fixedDtMs”fixedDtMs:
number
Defined in: src/modules/tick/fixed-accumulator-tick-source.ts:8
Simulation step size, in milliseconds. Must be positive and finite.
maxStepsPerFrame?
Section titled “maxStepsPerFrame?”
optionalmaxStepsPerFrame?: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.