Let say I have,

Point A(X1,Y1) moving in the direction V(W, H). I need to make sure that it reaches B(X2,Y2). I think I need to subtract some value in Point A(X1, X2). But not know what? I also sure that the direction is correct.
|
|
|
Note: I'm rusty on my XNA so the specific functions you may need to call may be a little off, but the concept should work. Post-clarification Edit:
|
|||||||||||
|
|
If I understand correctly, you want a point close to The point closest to
|
|||||||||||
|