How to make a ball follow a spline using Torque

I’d like to make a ball follow a spline by applying torque in the direction of the spline without the momentum carrying it off the spline or causing it to spin in a direction other than the rotation of the spline.