Game Development Reference
In-Depth Information
Normalized time
Normalized time is very similar to our animation's regular time, except that we receive a
value between 0 and 1 , which signifies how much of the animation has played. When us-
ing normalized time to determine whether an animation is complete, you must keep in
mind the same restriction as the one while using animation time to determine whether the
animation is complete:
local normalizedTime =
Animation.GetNormalizedTime(animation);
Animation.SetNormalizedTime(animation, normalizedTime);
Search WWH ::




Custom Search