Animating Attachment

You assign an Attachment constraint to cause an object to hold a position on the surface of another object. The Attachment constraint is not a hierarchical link, but it has the effect of "linking" an object to the surface of another object as follows:

Unlike hierarchical linking, which considers only object transforms, an object using an Attachment constraint follows the deformations of another object based on that object's modifiers.

See Animation Constraints

Setting Attachment Parameters

You use features on the Attachment Parameters rollout on the Motion panel, to pick a target object and position the source object.

Animating Attachment Position

You can move to any frame and click Set Position to animate the source object moving across the surface of the target object. It is not necessary to turn on the Animate button, because you are working with an animation constraint.

When you set positions for the source target on multiple frames, its attachment to the target object is only fixed at each keyframe. Frames between keys are interpolated and may not match the target surface.

Test your animation, and either adjust the values of the keys, or add intermediate keys to better match the target surface. Too many keys can result in jittery movement of the source object, while too few keys may result in the source object missing the surface of the target object over some frames.