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: 33ms

DB GetPage 3
Generate Html 6
SaveChanges (1) 9
Render Body 0
Render Sidebar 13