How does each Enum value in EnviromentalPhysicsThrottle behave?

Hello! I am wondering how the different enum values in EnviromentalPhysicsThrottle behave.

Disabled and DefaultAuto are self explanatory. I am assuming Skip X means it skips X iterations of the full 240hz. I’m not 100% sure. Finally, what does Always mean? Does this mean the throttle is always at 100%? I’m not sure what this could be.

2 Likes

Throttling occurs when too much physics is happening; the simulation is slowed down to keep frame rates smooth.

EnviromentalPhysicsThrottle is probably used to observe and debug the behavior of the throttler by overriding how much throttling occurs.

Value Behavior
DefaultAuto Throttling determined by magic.
Disabled Never throttle. Physics always at 100%. FPS will suffer for large simulations.
Always Always throttle. Physics always at 0%. No physics steps occur. Very fast.
Skip2 Throttles to 50% normal speed.
Skip4 Throttles to 25% normal speed.
Skip8 Throttles to 12.5% normal speed.
Skip16 Throttles to 6.25% normal speed.

You can observe how each value behaves by showing the Physics stat panel with Ctrl+Shift+F4. The PhysicsReal field shows the percentage to which the physics is being throttled.

3 Likes