Entity/GetAbsVelocity

From Garry's Mod
Jump to: navigation, search
 Entity:GetAbsVelocity( )

Description

Returns the entity's velocity.

NOTE

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

Vector

The velocity of the entity.
Personal tools
Navigation