TagTransform
ABSTRACT
A follower animation that interpolates between the follower and iterator based only on the points of the meshes. That is, no type information is necessary. The difference between this and Transform is that in TagTransform, the matching algorithm will match meshes in follower only with those in the iterator that have the same tags. This allows you to have more control over how the transformation looks.
IMPORTANT ELEMENT
TagTransform is a very commonly used follower animation
REMARK
If you want to only transform a subset, take a look at TagTransformSubset
PARAMETERS
meshes& | The meshes that this animation will apply to |
time | the amount of seconds the lerp should take place over |
time | the amount of seconds the lerp should take place over |
unit_map(u) | Defaults to smooth(u). If provided, it is essentially a rate function that controls the timing of this animation. It receives normalized time from 0 to 1 and returns a normalized time from 0 to 1. |
path_arc | Defaults to the zero vector. If provided, it should be a rotation vector whose magnitude is how much rotation should take place (i.e., how much deviation from a straight line), and the direction is the axis of rotation. See Arrow for more information on how a path arc works |
RETURN
An animation that interpolates between the follower and iterator using point information alone. After the animation is executed, all followers are set to the value of their iterators.
DECLARATION
func TagTransform(meshes&, [config] {[main] {time}, [parameterized] {time, unit_map(u), path_arc}})