All Questions
Tagged with line-of-sight ai
2 questions
23
votes
4
answers
9k
views
How to make AI detect a target behind a wall, who is only partially exposed?
I'm making an FPS game where, even when a target's whole body is behind a wall or box, but its finger or foot exposed, the AI should be able to detect it and shoot its finger.
So far the way I've ...
3
votes
2
answers
300
views
Creating LOS zones on a 2D grid for chase AI
I have a 2D grid, around 20x20, stored as an array. Each grid cell can contain an opaque object or not. I also already have an algorithm to calculate LOS between any two squares via Bresenham.
I want ...