I’m trying to make NavMesh agents to navigate around different areas.
I added areas with higher costs to the NavMesh to make them avoid walking through certain areas to make their movement somewhat more realistic.
But when they navigate past these areas, they tend to get stuck on the vertices between the different areas.
In the video attached to this post, you can see that the agent is moving inside the high-cost area, moving back to leave the high-cost area, and then moving back into it.
Is there a way to tweak the NavMesh or it’s agent so it doesn’t get stuck like this?
zjAAHW5BbCkWErLnYB
Hello there,
It is a bit tricky to figure out what goes wrong here. Would you mind sharing the project or a simple repo project of the issue with me in a DM, so that I can take a closer look?
Thanks!