Garry's Mod Wiki

Revision Difference

physenv.SetGravity#563079

<function name="SetGravity" parent="physenv" type="libraryfunc"> <description>Sets the gravitational acceleration used for physics objects. <note>Does not work on players.</note>⤶ <description>Sets the gravitational acceleration used for physics objects. Does not affect players. </description> <realm>Shared</realm> <args> <arg name="gravAccel" type="Vector">The new gravity in `source_unit/s^2`.</arg> </args> </function>