I was wondering how I would calculate the direction in which an object will travel to a given point. So if I had a ball at the coordinates 10,10 and I gave it a coordinates 15,15 it would know to move up and to the right by same distance (i.e java y coordinates increase upwards and travels the same distance towards right until it got there). But if I gave the same ball the 20,15 it would not move in both axis evenly (ie the distance up and then to the right). It would be great if I could have the output in `int` values. Like the number of pixels to move upwards per tick and the number of pixels to move across per tick. (Obviously, that would have a cap so it is really just regulating one of the variables to get the desired course).

Thanks heaps.