Hi just a quick math question..

How do I calculate the speed of an animation of a moving object that translates from point a to b?

So, if the animation is say 1 sec long and I'm moving at a distance of say 3 units, how can I set the animation so it starts at point a and finishes when it reaches point b?

And if the distances changes, so will the speed of the animation so it will "fit" the distance it travels.

Thanks for any help