EntityLookAt()

Syntax

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

Parameters

#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).

Return value

This function has no return value.

Supported OS

All

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