Garry's Mod Wiki

physenv.GetLastSimulationTime

  number physenv.GetLastSimulationTime()

Just Added

This was just added in the latest version (2023.01.25). It might only be available on the Dev Branch right now.

Description

Returns the last simulation duration of the in-game physics.

Returns

1 number
The last simulation duration of the in-game physics in seconds