Garry's Mod Wiki

Revision Difference

physenv.SetGravity#546503

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