Pathfinding to a point that has line of sight to another

Sorry if I can’t explain this clearly, but basically I’m talking about how, for example, in a game where enemies can shoot to the player, they need to find a point from wich they can take a shot without obstacles, rather than just pathfinding to the target.

Is there any way to do this with a* pathfinding project?


It is possible to do this using a custom PathEndingCondition. See PathEndingCondition - A* Pathfinding Project

1 Like