CLuaLocomotion/SetGravity

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(add)
 
Line 2: Line 2:
 
|Description={{NextUpdate}}Sets the locomotion's gravity.
 
|Description={{NextUpdate}}Sets the locomotion's gravity.
  
{{Note|With values 0 or below, or even lower positive values, the nextbot will start to drift sideways, use {{LuaLocomotiom|SetVelocity}} to counteract this.}}
+
{{Note|With values 0 or below, or even lower positive values, the nextbot will start to drift sideways, use {{ClassFunction|CLuaLocomotion|SetVelocity}} to counteract this.}}
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes

Revision as of 15:00, 25 September 2019

 CLuaLocomotion:SetGravity( )

Description

Next Update Change

This feature is only available in the next update.
Sets the locomotion's gravity.
NOTE

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

Arguments

number gravity

New gravity to set. Default is 1000.
Personal tools
Navigation