Game Development Reference
In-Depth Information
The bone rotation
Bone rotation is exactly the same as getting the bone's position, except that it returns a vec-
tor that represents the rotation around the
x
,
y
, and
z
axes in degrees:
local rotation =
Animation.GetBoneRotation(sandboxObject, boneName);