Seeker script won't pathfind outside the radius of the character controller

When I pathfind on a gameobject with a character controller, the path seems to stop at the edge of the character controller (like 1 unit). But if I disabled the Character Controller, the path seems to be correct. Why is this and how do I fix it?


Are you sure the layer of the character controller is not included in the graph’s height testing layer mask?
If it is, then the graph might have generated a node on top of the character’s head.

Ah I see, thank you! I made a new layer for my gameobjects and excluded it form the height testing and the path now works perfect. Pleasure to meet you by the way, this A* Pathfinding Project is great!

1 Like