Garry's Mod Wiki

Entity:SetLocalVelocity

Entity:SetLocalVelocity( Vector velocity )

Description

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.

Arguments

1 Vector velocity
The new velocity to set.

Page Links


Special Pages


Wikis

?

Render Time: 23ms

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