bone.worldRotation

Type: number (read-only)
See also: bone

Overview:


The world rotation of the bone. This is the bone’s rotation relative to the skeleton’s origin.

Example:


local bone = hero.bones[2]
print("World rotation:", bone.worldRotation)