How can I configure the pathfinding system in Roblox to generate multiple paths that each take a unique route?

The title says it all.
For extra context: I am working on a pathfinding project and I was wondering if I can make it perform multiple path calculations and choose the best one. I currently have no idea how to perform this, which is why I reached out to you.

All help is appreciated.

1 Like

Roblox’s Pathfinding by Default Calculates the Fastest Route Possible, So every time it Computes a Path, its usually the best (or fastest) Route, Obviously it can choose a Slower Route so its not always perfect

Even if you could, it will Likely choose the same Route because it may be faster than the other, or safer depending on the agentParams provided

I would Recommend looking into Path Modifiers

PathfindingModifier
PathfindingLink

You can probably have a System where you set up Modifiers Randomly, and have the NPC avoid them

1 Like