Given a grid of points I’m trying to find the path between two of them.
Like in this picture: I’d need to find the points for the yellow line:

What are the best methods / algorithms I can use?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out the A* algorithm
It’s what’s used in many video games for pathfinding problems, and can be built out to be very robust.