Align to Motion

The Align to Motion behavior changes the rotation of an object to match changes made to its direction along an animation path. This behavior is meant to be combined with Simulation behaviors that animate the position of an object or with a keyframed animation path you create yourself.

Note: The Align to Motion behavior does not work on objects animated using the Motion Path behavior. Instead, use the Snap Alignment to Motion behavior (in the Basic Motion subcategory).

Canvas showing the effect of Align to Motion behavior

Unlike the Snap Alignment to Motion behavior, which produces absolute changes in rotation that precisely match changes in direction, Align to Motion has a springy reaction and creates a more lively effect.

In the above example, the airplane travels along the keyframed animation path, but the plane isn’t aligned to the animation path (notice the rotation handle). Using the Align to Motion behavior, the airplane’s angle of rotation moves so it points in the direction of the animation path. By adjusting the Drag parameter, you can make the object careen wildly about its anchor point as it goes around curves in the animation path.

Adjust this behavior using the controls in the Behaviors Inspector:

SEE ALSOSnap Alignment to Motion