Building a compound path that travels through pre-designated waypoints

Hey!
I have a use case that doesn’t seem to be supported out of the box. Our animation system for NPCs involves a planner that creates sequences of movements (i.e. turn, move forward, turn x degrees, move forward, stop) based on paths that come from pathfinding. The NPCs follow premade patrolling waypoints. I need pathfinding to construct a path that will go through a sequence of a few of those points, so that the planner has enough data to plan out turns, stops, and the like.

Is that possible?

Hi

There is no built-in support for this.
The best way is to calculate the partial paths in sequence, and then join them together.

Here’s a code example of doing this: ABPath - A* Pathfinding Project

Thank you Aron. I was looking at that ABPath class earlier, but didn’t see the example in the docs - that’s exactly what I was looking for. Cheers!