sudasana / armcom2

Armoured Commander II
104 stars 13 forks source link

LoS / FoV Bug - Enemies can see player when player can't see them #2

Closed sudasana closed 6 years ago

sudasana commented 7 years ago

There's a persistent issue with enemy units that are out of the player's Field of View having a Line of Sight to the player. It might work the other way too, but in any case it seems to be related to how the LoS function handles different elevations.

sudasana commented 7 years ago

I don't think it's related to terrain height; has occurred even at same height through intervening terrain.

sudasana commented 7 years ago

I think it's been fixed - turns out there was never a LoS check for AI attacks.

sudasana commented 6 years ago

It's not fixed - continues to occur.