RotateEntity()

语法

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

参数

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

返回值

无.

参阅

MoveEntity()

已支持操作系统

所有

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