Using funnel and simplesmooth together?

Is there a way to use both the funnel modifier and the simple smooth modifier so I can get the benefits of both of them?

I want to use the funnel modifier so that over long walkable paths the agent takes the most direct, straight, natural looking route possible. However, I don’t want the agent to cut corners. Is there any specific way or configuration to get the benefits of both modifiers?

Here’s some cases to demonstrate the good and the bad of each individual modifier:

FUNNEL - GOOD

FUNNEL - BAD
Screenshot_1

SIMPLESMOOTH - GOOD
Screenshot_4

SIMPLESMOOTH - BAD
Screenshot_2

Hi

It is valid for the agent’s center to be positioned anywhere on the blue surface, so with your grid settings the funnel modifier is doing everything correctly.
What you could try is to use the raycast modifier instead as that usually ends up a bit further away from the edge of the grid.