Control sequence timing with keyframes
When the Traversal parameter in the Sequence Replicator behavior is set to Custom, you can create location keyframes to specify where on the pattern the animation is in effect. Use the Traversal parameter to create a sequence animation that travels through a replicator pattern in a unique way. The following example shows how to use the Custom Traversal option to scale the elements around a circle replicator shape by creating keyframes.
Use keyframes to create custom sequence timing
-
Add a Sequence Replicator behavior to a replicator, then, in the Behaviors Inspector, add parameters and set their values.
In this example, the Scale parameter is added and the Scale value set to 200%.
Click the Traversal pop-up menu, then choose Custom.
Press A to enable keyframe recording, then move the playhead to the frame where you want to begin the animation.
-
In the Behaviors Inspector, drag the Location slider (or use the adjacent value slider) to set where the sequence begins.
As you drag the slider, the sequence moves through the pattern elements. Location values specify (in percentage points) where in the pattern animation is occurring, with 0% representing the origin of the pattern, and 100% representing the end of the pattern.
A keyframe is added to the Location parameter.
-
Go to the next frame where you want to set a keyframe, the adjust the Location slider.
Another keyframe is added to the Location parameter.
Repeat step 5 until you create all your keyframes.
Press A again to turn off keyframe recording.
-
Play the project (press the Space bar).
The animation moves through the replicator pattern based on its keyframed locations. In this case, the scale moves erratically back and forth around the circle, rather than in a constant direction.