Ok, I pretty much get Lerp (thanks to some awesome posts covering it) and TimeDelta is easy, but I'm missing something crucial for using them together...
I basically want to move two objects each a set, but different, distance, over the course of say 1500ms. I've been trying to use lerp and TimeDelta to achieve this, and I can get them to work individually, but I can't seem to synch them up for some reason...
is lerp the wrong algorithm to use?
It should be something like...
//object1.X <> ScrollX//
set object1. X
lerp(object1.x, destinationX, x*TimeDelta)
set ScrollX
lerp(ScrollX, destinationX, x*TimeDelta)
How do I change x*TimeDelta for both objects so that no matter how different their X coords are, they'll still end in the same X at the same time?
Please help?