EntityVelocity()

语法

EntityVelocity(#Entity, x, y, z)
概要
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().

参数

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

返回值

无.

已支持操作系统

所有

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