scripting a uniformly accelerating object
I need some help scripting object motion.
I have values for ....
1. total distance travelled
2. travel direction
3. start speed
4. final speed
5. total time taken
.... and I need to position an object accordingly. The acceleration is uniform.
How would I go about this? How would I keep track of the current frame and velocity, increase it over time and relay it to object position until the final frame?