I feel silly asking this question, but my google searches are coming up empty. Probably because I'm searching for the wrong thing.
I have two sets of x,y coordinates. I need to move my object along the diagonal path between the two sets of x,y's.
Where can I get a mathematical equation that will take two sets of x,y and will give you the next whole integer along the path.
For a simple example, if the two coordinates were 0, 0 and 10, 10 these would be the coodinates that I would move along: