Garry's Mod Wiki

Entity:GetAbsVelocity

  Vector Entity:GetAbsVelocity()

Description

Returns the entity's velocity.

Actually binds to CBaseEntity::GetLocalVelocity() which retrieves the velocity of the entity due to its movement in the world from forces such as gravity. Does not include velocity from entity-on-entity collision.

Returns

1 Vector
The velocity of the entity.