MoveEntityBone()

Syntax

MoveEntityBone(#Entity, Bone$, x, y, z, Mode)
Description
Move the specified entity bone. The bone has to be in manual mode, set with EnableManualEntityBoneControl().

Parameters

#Entity The entity to use.
Bone$ The bone name in the OGRE mesh.
x, y, z The new position of the bone.
Mode The move mode. It can be one of the following values:
  #PB_Relative: relative move, from the current bone position (default).
  #PB_Absolute: absolute move to the specified position.
combined with one of the following values:
  #PB_Local : local move.
  #PB_Parent: move relative to the parent position.
  #PB_World : move relative to the world.

Return value

None.

See Also

RotateEntityBone()

Supported OS

All

<- MoveEntity() - Entity Index - RotateEntity() ->