My agents are going through walls!

The recast graph works perfectly and I see that the navmesh generated covers where I want. When I tell a unit to move, however, it sometimes walks through/inside walls. My game is an RTS style game and so far the RVO Controller has been working very well except for this one glitch. If I click in an unwalkable place such as inside a wall or a barrel, my agent just goes inside like it’s no big deal. Why are they defying the laws of physics?

Note: All navigation is based on a cached scan; no obstacles are used except other agents.

Hi

Check your settings for the Seeker component -> StartEndModifier -> End Point. It should be set to ClosestOnNode (default) or Snapped to prevent this behaviour.

Thank you very much. This worked very well!