Garry's Mod Wiki

CLuaLocomotion:SetGravity

CLuaLocomotion:SetGravity

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.

Special Pages


Wikis

?

Render Time: 57ms

DB GetPage 40
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6