Now, some of you might be thinking that you could do the previous example pretty easily, using keyframes. That's certainly true.
But this next example defies keyframing: you would go stark raving mad before you'd keyframe it.
We're going to set up our ball to bounce around the screen, ricocheting off the edges, back and forth.
If you play back your project, you should see the ball bouncing around.
With our bouncing ball ready, we can set it aside for a bit. Turn it off by clicking on the checkbox in the Layers List. Now we create some text.
Not a keyframe in sight. Not a keyframe in sight. Not a keyframe in sight. Not a keyframe in sight. Not a keyframe in sight. Not a keyframe in sight.
Our text is in place, so let's turn on the red ball shape by enabling the checkbox in the Layers List. And now for our main event: the trusty Repel From behavior.
Now play back your project:
As you can see, the behavior allows the ball to interact with each text character, individually. The 'Affect Objects' checkbox in the Inspector allows this behavior (and others) to affect the target object as a whole (the whole block of text) or as individual objects (each letter). This works the same with particles and replicator cells. Imagine the possibilities!
Here are a couple more examples of using Repel From to do dynamic stuff.
This first one is similar to what we've already done:
The second one is a bit trickier. It uses a couple of replicators, combined with the Extrude and Indent filters:
Again, no keyframes were harmed (or used) in the making of these examples. I hope this tutorial has shown you some of the variety of uses you can get out of the Repel behaviors. Have fun!