EntityLookAt()

语法

EntityLookAt(#Entity, x, y, z [, DirectionX, DirectionY, DirectionZ])
概要
The point (in world unit) that an entity is facing. The position of the entity is not changed.

参数

#Entity The entity to use.
x, y, z The position (in world unit) to point the entity at.
DirectionX, DirectionY, DirectionZ (optional) The vector direction of the entity (values between -1.0 and 1.0).

返回值

无.

已支持操作系统

所有

<- EntityLinearFactor() - Entity Index - EntityParentNode() ->