Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...