physenv.SetTimeScale
Recently Added
This was recently added in version (2026.05.05). It might only be available on the Dev Branch right now.
Description
Sets the time scale of the physics simulation.
This will affect serverside-only physics if called on server, and clientside-only physics if used on the client.
See game.SetTimeScale for a function that also affects all game logic.
The true timescale will be phys_timescale (cl_phys_timescale on client) multiplied by physenv.GetTimeScale.
Garry's Mod
Rust
Steamworks
Wiki Help