Skip to content

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.

Quaternion

Global bone’s rotation

TransformNode

Reference to the bone instance

void