Garry's Mod Wiki

Revision Difference

physenv.GetGravity#563080

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