Implementing my fish pathfinding system

I’m trying to implement a pathfinding system with pre-determined nodes for my fish AI but can’t exactly figure out how to actually implement the system.

node.PNG
The image above is the nodes inside the river for the fishes to traverse through.

How do I implement this system?
Any help will be appreciated.

2 Likes