Garry's Mod Wiki

physenv.GetAirDensity

  number physenv.GetAirDensity()

Description

Returns the air density used to calculate drag on physics objects.

The unit is in kg/m^3.

Returns

1 number airDensity
Default value is 2.