Contents

timeStep

The amount of time the simulation advances each time step, in seconds.

Declaration

var timeStep: Float { get set }

Discussion

A smaller number means more time steps are computed each frame, leading to higher simulation accuracy but also higher computation load.

Must be positive.

See Also

Controlling simulation timing