VB5 best route from point A to point B
Posted on 1998-10-21
Not exactly sure how to describe this but I need a formula I believe on how to plot a location of an obect and get it from point A to point B.
For example, I've got a black dot at 0,0...and I want to move him to 46,36 taking the most direct route (a line). If it were straight lines, it would be easy...but how do I do it with diagonals? I know there is some sort of formula for this used in games...I need it :)