MaxSimulationIterations

Max number of iterations used for each discrete simulation step.

Choose your operating system:

Windows

macOS

Linux

Syntax

int32 MaxSimulationIterations

Remarks

Max number of iterations used for each discrete simulation step. Used primarily in the the more advanced movement modes that break up larger time steps (usually those applying gravity such as falling and walking). Increasing this value can address issues with fast-moving objects or complex collision scenarios, at the cost of performance.

WARNING: if (MaxSimulationTimeStep * MaxSimulationIterations) is too low for the min framerate, the last simulation step may exceed MaxSimulationTimeStep to complete the simulation.

See Also