Game Development Reference
In-Depth Information
Enabling and disabling animations
The enabling and disabling animations determine whether the animation will contribute to
the skeleton's current pose. If multiple animations are enabled, they will combine in an ad-
ditive manner to determine the skeleton's final pose.
Note
As none of our soldier's animations were authored to be played simultaneously with one
another, additional steps are required to blend multiple animations together.
To determine if an animation is already enabled, we can use the Anima-
tion.IsEnabled function:
local enabled = Animation.IsEnabled(animation);
Animation.SetEnabled(animation, true);
Search WWH ::




Custom Search