rotateBone
rotateBone(
rotation
,bone
):void
Set bone rotation keeping relative position
Rotation is in the world coordinate frame. If the bone has a parent we find relative rotation to follow skeleton hierarchy.
Parameters
Section titled “Parameters”rotation
Section titled “rotation”Quaternion
Global bone’s rotation
TransformNode
Reference to the bone instance
Returns
Section titled “Returns”void