Comments and answers for "Adding rivers to procedural generated 2D map"
http://answers.unity.com/questions/1408357/adding-rivers-to-procedural-generated-2d-map.html
The latest comments and answers for the question "Adding rivers to procedural generated 2D map"Answer by ThibaultCoutaz
http://answers.unity.com/answers/1445588/view.html
I think A* would do perfectly the work for you
![alt text][1]
to train PathFinding with A* i made a 2 grids with some wall (in your case the wall can be the black pixel )
Picture explication :
Black pixel = wall;
White pixel = free Space where the way can pass.
pink pixel = free Space visit by the A*
yellow pixel= Wall visit by the A*
blue/cyan pixel = Way to go from A to B
Red pixel = Point B : End
Green Pixel = Point A: Start
[1]: /storage/temp/107808-pathfinding.jpgFri, 22 Dec 2017 10:23:32 GMTThibaultCoutazComment by Cherno
http://answers.unity.com/comments/1408615/view.html
It's mostly a math problem I figure. I also figure that you will be able to find several example mathematical equations that simulate a river with bends.Mon, 18 Sep 2017 09:23:21 GMTCherno