Garry's Mod Wiki


  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.