RotateEntity()

Syntax

RotateEntity(#Entity, x, y, z [, Mode])
Description
Rotates the entity according to the specified x,y,z angle values.

Parameters

#Entity The entity to use.
x, y, z The rotation to apply, in degree. Valid values are from to 0 to 359.
Mode (optional) The rotation mode. It can be one of the following value:
  #PB_Absolute: absolute rotation (default).
  #PB_Relative: relative rotation based on the previous entity rotation.

Return value

None.

See Also

MoveEntity()

Supported OS

All

<- MoveEntityBone() - Entity Index - RotateEntityBone() ->