- Joined
- May 24, 2005
- Messages
- 609
Hi,
I need an efficient function that detects if a unit is able to reach the position of another unit or not. I've attached an example picture that shows a maze using pathing blockers. In the left maze, the red unit is able to reach the blue unit, in the right picture, it is not. This reachability should be detectable by the function.
Maybe someone has already faced this issue before?
Thanks and cheers
I need an efficient function that detects if a unit is able to reach the position of another unit or not. I've attached an example picture that shows a maze using pathing blockers. In the left maze, the red unit is able to reach the blue unit, in the right picture, it is not. This reachability should be detectable by the function.
Maybe someone has already faced this issue before?
Thanks and cheers