FleePath and RandomPath to a specific zone of a grid graph

The green zone is the grid graph, the blue zone is a big sphere collider.

I want to know if there is a way when i use FleePath/RandomPath, the bot will run into the random position in blue zone instead of green zone. (i have reasons that i don’t wanna use ABPath or any direct path, RandomPath/FleePath is required)



There is no such built-in feature. However you could tweak the ‘aim’ parameter and aimStrength parameters on the path so that it tries to move approximately towards that region. Would that work?

Would it work to just sample a random point inside that region and then use a direct path to that random point?