Consider the following situation.
There is a predefined area inside NavMesh that AI agent must reach. For convenience - it is circular area.
To find the closest point of the area is pretty straightforward task. No, I need to find the shortest path to an area.
In the picture example the closest point obviously requires from an agent to travel further than optimal distance is.
So, how to calculate desired destination point in such situation?
Do I have to implement a wave propagation algorithm myself? Use the A* instead of built-in NavMesh? Are there any simple solutions involving Unity3D tools?
Note: desired area is just an abstraction defined by (Vector3) position and (float) radius, not an actual object in game scene.