AI move to

Hello,
Thank you for your response! However, I think there might be a slight misunderstanding about my issue. I can already determine the agent’s position relative to the lake by measuring the distance between them, so there’s no need to use meshes for that.

What I’m trying to achieve is to have the agents move differently in specific zones around the lake:

  • Inner Circle: When the agent is within the inner circle, I want them to move randomly using the “GetRandomReachablePointInRadius” function.
  • Middle Circle: If the agent is in the middle circle, I also want to use “GetRandomReachablePointInRadius,” but with a slight bias towards the lake, ensuring that the new location is still reachable.
  • Outer Circle: For agents in the outer circle, the same function should be used, but with a stronger bias towards the lake, again ensuring that the chosen point is reachable.

This should result in most agents being near the lake, with fewer in the middle circle, and only a rare few in the outer circle.