2D grid graph -- agent width not accounted for, so overlaps walls

  • A* version: 5.4.5
  • Unity version: 6000.0.63

Video showing the graph and agent overlapping the wall here: https://www.youtube.com/watch?v=IhieIvUqELg

You can see the agent radius (yellow circle) – ideally that would be accounted for and not allow them to move their center position all the way to the wall.

I never used the 2d one but I believe you have to select a margin using the “character radius field“. that’s how the 3d works and if you have multiple enemies with different radius you use different graph