Download

2d Platformer Navmesh - navmesh can't figure specific path

video link
Hi. I’m making a follower ai for a 2d platformer enemy.
As you see, the pathfinder cannot find a path when x axes of target(player char) and ai are same but z axes are different.
I tried to put the nav link proxy in the middle, but it didn’t work.

Also there is a problem that ai stick at the corner of a platform when it goes down.
if you give me any suggestion of these two issues, I will be appriciated.

‘agent max step height’ in RecastNavMesh was the problem. I put less value, and pathfinder worked well.