|
Combining Motions
Functions can be combined and used as the building
blocks of more complex motions. For example, a linear function
can be used and on top of that a sin() function can be added:
sp.loch = linear(p) + sin(p)
One way to look at this is that the position along the
line is being offset by
sin(p). In this case, the offset is along the x-axis
(loch). The linear motion can be considered the primary motion, and the
sine a secondary motion.
There are many ways different functions can be
combined to create an animator function. In this tutorial
they are divided into two categories: when the primary and secondary
motions are applied independent of each other,
and when the secondary motion is dependent in some
way on the primary. What this means will become more apparent in
the next few sections.
|