Garry's Mod Wiki

Garry's Mod Wiki

  CLuaLocomotion:SetGravity( number gravity )

Description

Sets the locomotion's gravity.

With values 0 or below, or even lower positive values, the nextbot will start to drift sideways, use CLuaLocomotion:SetVelocity to counteract this.

Arguments

1 number gravity
New gravity to set. Default is 1000.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...