Align to Spline Expression
If you want to define an animation path for an object, we recommend that first of all you create the path as a Spline object. This has an advantage over the keyframe method in that you can create BSpline paths and use tools such as the magnet. You can also use closed splines for creating cyclic motion — a difficult task using keyframes.