A somewhat similar example:
One way or another, if you have a bunch of points, generate a spline and glide the character along it.