ArcBasicDocs

DeltaYaw

Yaw needed to face another entity.

DeltaYaw ( src_entity,dest_entity )

Parameters

src_entity
the entity that would turn.
dest_entity
the entity to face.

Description

Gives back how far one entity would need to turn left to face another, in degrees from -180 to 180; negative means turn right. Turning by a little of it each frame makes a smooth chase.

See also