Pathfinding NPC gets stuck when close to wall

If my NPC calculates that it has to jump over a wall, and the wall is too close to the NPC, they will not jump. The issue here is that the waypoint right before the ‘Jump’ waypoint is right on the wall, which it should not.

This video shows what I mean. How should I work around this?

2 Likes

Have you tried changing the agent parameters of the path? Increasing the AgentRadius should do the trick.

Changing the AgentRadius or AgentHeight doesn’t fix it, unfortunately

1 Like

Hello, I’m having the same issue does anyone have a solution?