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.
|show 9 more comments|
If I understand correctly, you want a point close to
The point closest to
|show 1 more comment|