Blending and Sequencing - acidbubbles/vam-timeline GitHub Wiki
Blending
While the animation is playing, switching to another will trigger blending. The blend duration is configured in the sequence screen will define for how long will the blending last when transitioning into the animation. Blending behaves like a "crossfade".
Sequencing
You can set up an animation to run after another automatically. When you play an animation, if "play next" is set up in the sequence screen, it will automatically switch to that animation after the configured time. This can be used to create a series of animated poses or create randomization within a few similar loops.
Randomized sequencing
You can play a random animation by selecting Randomize
as the "play next" value; this will play any animation on the same layer. You might however want to play a random clip within a specific set of animations rather than a completely random one. For this, you can use animation groups.
Animation groups
You can create a group by prefixing your animation name with Prefix/
, for example, you could have Breath/Fast
, Breathe/Slow
and Breathe/Cough
. This allows you to randomize in Breathe/*
, which can be useful to add variety to your animations.
You can also adjust the randomization weight to increase probability of any given animation within that group to play; the same animation will not play twice back to back.
Randomization sync
All animations sharing the same segment and animation name will automatically play if they exist once a random animation has been selected. Also, if the animation is in an animation set, all layers will switch to the first available animation in that set and their own sequencing will be canceled.