EntityVelocity()

Syntax

EntityVelocity(#Entity, x, y, z)
Description
Changes the linear velocity of the #Entity. The linear factor is applied to the entity before any move. To get the final value, see EntityLinearFactor() for more information. The entity needs a physic body to support linear velocity. To get the current entity velocity, use GetEntityAttribute().

Parameters

#Entity The entity to use.
x, y, z The velocity vector force.

Return value

None.

Supported OS

All

<- EntityRoll() - Entity Index - EntityX() ->