Garry's Mod Wiki


void Entity:SetLocalVelocity( Vector velocity )


Sets the entity's local velocity which is their velocity due to movement in the world from forces such as gravity. Does not include velocity from entity-on-entity collision or other world movement.

Same as Entity:SetAbsVelocity, but clamps the given velocity, and is not recommended to be used because of that.


1 Vector velocity
The new velocity to set.

Page Links

Special Pages



Render Time: 28ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 12