A* Pathfinding Project

Weird interaction near the edges of a navmesh


#1

Hi,

What might cause the RVOController to turn game object away from the navmesh edge even when there is no physical wall blocking the way? See this clip: Situation where it occurs

I have noticed that it doesn’t always happen, only sometimes and it only happens on an angled surfaces like that ramp in the clip, not on horizontally flat surfaces. I also know it has something to do with the RVOController because it is flashing the yellow collider rapidly on angled surface and when i turn the RVO off from the game object then this strange rotation behavior doesn’t occur. I have also tried setting the wall forces to 0 and played around with the parameters and tried to look into the code but haven’t been able to figure out what might be causing this strange behavior.

  • Scaba