Animate an object along a path