Garry's Mod Wiki


Entity:SetVelocity( Vector velocity )


Sets the entity's velocity. For entities with physics, consider using PhysObj:SetVelocity on the PhysObj of the entity.

Actually binds to CBaseEntity::SetBaseVelocity() which sets the entity's velocity due to forces applied by other entities.
If applied to a player, this will actually ADD velocity, not set it.


1 Vector velocity
The new velocity to set.

Page Links

Special Pages



Render Time: 31ms

DB GetPage 2
Generate Html 7
SaveChanges (1) 8
Render Body 0
Render Sidebar 11