Menu
Lumberyard
Legacy Reference

Cyclic Transitions

To set up a transition from a looping or parametric animation, set the transition Select Time value relative to one cycle (or segment) of the animation clip. If the fragment changes duration, the time would automatically adjust in the proper proportion. You do this by selecting Cyclic Transition under Transition Properties. This turns the select time into a value between 0 and 1 instead of a value in seconds.

The following fragment shows:

  • The first fragment is looping.

  • Cyclic Transition is selected

  • The select time is 0.5, and this translates into 50% along the cycle. Also displayed is the range of the select time, in this case it runs all the way to the end of the cycle. After that the second transition with select time of 0 is selected.

Unless marked as being locked, cyclic transitions always trump the previous fragment, regardless of action priority. The Earliest Start Time value is thus effectively ignored.

It is possible to delay transitions in an animation using the Earliest Start Time value. By default, this value is relative to the end of the previous fragment. For fragments with no clear ending, such as fragments with looping end clips, this is handled by "locking" the cycling so that transitions are triggered when preceding animations are a certain portion of their run cycle.

In this case, select both Cyclic Transition and Cyclic Locked. This enables the Earliest Start Time value to be stored cyclically in that the time restarts at zero after each cycle.