I have an object that I would like to move from point A to point B in X time. What is the formula to move it by to ensure it always gets to point B in X time?
The distance is 416 px and the time is 45000 "seconds".
Set speed: distance divided by seconds. I know it's really not that simple.. you have to adjust either the seconds or the distance to get it right, but once you do, it'll work on any distance or speed.
Thanks for your help, Sketchy. Can't seem to get that to work though.
I have the below. I've checked all the formula a few times. Note that Second is a global value and isn't supposed to be Seconds. All the alterable values are returning -1.#IND at runtime.
Hmm, I know the problem now is using relative X and Y coordinates so it's always at the same position within the window frame. Is there another way to do this? The context is a sun that moves upwards from the horizon from dawn to midday, if that helps.