6.7 MOVE & DIR
As you probably have already realized, the direction method is a very
powerful way to create many kinds of nice animations. However, there
are situations where you have to control the direction of the object
independently from the motion; that is not possible with the direction
method, because it uses the same curve to define both the direction and
the motion. MOVE & DIR method is designed for these situations.
The move & dir method uses two parameters: the first one defines a
motion for target objects just as the path method parameter does, and
the second parameter defines the direction for the targets just as the
direction method parameter does. This means that if both parameter
curves are equal, the method will work exactly the same way as the
direction method does and if the parameter defining the direction is a
straight line, the method works similar to the path method (because the
direction of the object remains constant).
|