Skip to content

SimulationMode

enum · namespace Hazel

Controls how physics simulation timing relates to real-time.

public enum SimulationMode

Values

Name Value Description
Nondeterministic 0 NOT reproducible; tracks the wall clock, dropping or repeating frames; do not use for training.
DeterministicRealtime 1 Fixed-step and reproducible, capped at 1x real-time; the default, for watchable runs.
DeterministicHighPerf 2 Fixed-step and reproducible, as fast as the hardware allows; best for RL training.

Source: Hazel/Scene/Scene.cs