Garry's Mod Wiki

Revision Difference

CLuaLocomotion:SetGravity#513783

<function name="SetGravity" parent="CLuaLocomotion" type="classfunc">⤶ <description>⤶ Sets the locomotion's gravity.⤶ ⤶ <note>With values 0 or below, or even lower positive values, the nextbot will start to drift sideways, use <page>CLuaLocomotion:SetVelocity</page> to counteract this.</note>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="gravity" type="number">New gravity to set. Default is 1000.</arg>⤶ </args>⤶ </function>⤶ ⤶