EnableManualEntityBoneControl()

Syntax

EnableManualEntityBoneControl(#Entity, Bone$, State, InheritOrientation)
Description
Enable the manual control of a bone. It can be manually moved with MoveEntityBone() and rotated with RotateEntityBone().

Parameters

#Entity The entity to use.
Bone$ The bone name in the OGRE mesh.
State It can be one of the following value:
  #True : the manual bone control is enabled.
  #False: the manual bone control is disabled.
InheritOrientation (optional) Tells if the bone orientation should inherit from the entity orientation. It can be one of the following value:
  #True : the manual bone orientation inherit from the entity.
  #False: the manual bone orientation doesn't take in account the entity orientation.

Return value

None.

Supported OS

All

<- DisableEntityBody() - Entity Index - EntityAngularFactor() ->