Garry's Mod Wiki

Revision Difference

physenv.GetGravity#546502

<function name="GetGravity" parent="physenv" type="libraryfunc"> <description>Gets the global gravity.</description> <description>Gets the gravitational acceleration used for physics objects in `source_unit/s^2`.</description> <realm>Shared</realm> <rets> <ret name="" type="Vector">gravity</ret>⤶ <ret name="" type="Vector">gravAccel</ret>⤶ </rets> </function>