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³.

Returns

1 number airDensity
Default value is 2.