Deviate slighty from shortest path

Hi,

Is it possible to modify the path of an agent a bit so that it doesn’t fully follow the shortest path exactly? It’s to add a bit of randomness/sporadic movement to an agent while traveling to a target.

If its not possible directly, do you know a good approach to simulate this?

Take a look at path modifiers (here: Using Modifiers - A* Pathfinding Project and Writing Modifiers - A* Pathfinding Project). It should be relatively easy to modify the vector path using those. I don’t remember if there is any built-in noise modifier.

1 Like