Path spreading

Hey,

I am making a zombie shooter and the path-finding is great.

If I have say 30 zombies chasing a target, they tend to all run behind each other and all follow the same path (as its fastest)… is there a way to create a random spread so they all follow slightly different paths, so its more like a crowd?

Thanks

Bump?

I have the same question. Building a game with multiple soldier units following the player. They all end up playing conga line so only one can fire at the player at a time.

I have vague theories about having each subsequent path through a node add additional weight to that node so agents will try not to walk in the footprints of their friends but I’m not quite sure how to do that yet.

@CiberX15 local avoidance can help with this to an extent: https://arongranberg.com/astar/docs/local-avoidance.php