AI's radius penetrates into unwalkable area while moving

a star path
I’m using grid graph. The radius of AI penetrates into unwalkable area when it’s moving to destination. Does it have any setting or configuration which can control this behaviour?

Well, I just want a clarification. This is a normal behaviour and can’t be altered, right?

Hi

Yes, this is working as intended. The navmesh is defined as the surface where it is valid for the agent’s center to be placed. The navmesh should be constructed such that it takes the agent radius into account, and doesn’t place the navmesh too close to obstacles.

In your case, you can make it clip slightly less if you disable the ‘cut corners’ option in the grid graph settings.

Thank you! It looks better now.

1 Like