A* Pathfinding Project

Agents and slopes


#1

Hi, I’m having trouble with slopes.
My agents get stuck on the slopes, if I disable constrainInsideGraph then they can climb it…
I tried changing the settings of the rigidbody, colliders, etc. as I read the A* relies on physics not so much on the Y coordinate but I can’t make it work. I need the constrainInsideGraph enabled because otherwise my agents can fall from the level, and I don’t want that unless the player pushes them…

Here is a video showing the weird behavior

Any suggestion to fix it? Thanks so much!