Garry's Mod Wiki

Revision Difference

physenv.GetAirDensity#546504

<function name="GetAirDensity" parent="physenv" type="libraryfunc"> <description>Returns the air density.</description>⤶ <description>Returns the air density used to calculate drag on physics objects. <validate>The unit is in `kg/m^3`.</validate>⤶ </description>⤶ <realm>Shared</realm> <rets> <ret name="" type="number">airDensity</ret>⤶ <ret name="airDensity" type="number">Default value is 2.</ret>⤶ </rets> </function>