In the past, I’ve used waypoints systems and pathfinding service. I want to make a more advanced waypoint system, so that each waypoint has other waypoints connected to it, and the character would find a route between these waypoints to get to its goal.
That’s an example of what I’m looking for:
I’ve tried adding object values to each waypoint to know from what waypoint you can get to the next waypoint, but I don’t know how I would calculate the shortest path
Note: I’m not asking for any code, just a short explanation of how I would do it and what I would use to achieve this