6.3 SWEEP
Sweep method is designed for rotating objects with arbitrary
accelerations and decelerations. Actually, the sweep is one of the most
powerful tools when creating "character animations", such as walking
human beings and robots.
The sweep method requires two parameters: the first one defining a
center point for the rotation and the second one defining how the
object is rotated. Rotation is executed exactly the same way as when
the user rotates objects using the mouse and the function
Modify/Linear/Rotate. Thus the first parameter is usually just an
offset primitive, and the second some kind of curve defining a route
for some point of the object. The method tries to move that point along
the defined path while keeping the point defined by the first parameter
fixed, making the object rotate.
|