I'm having a hard time trying to figuring out a way to have an hero hide from an enemy view range behind a wall. As you can see bellow, the view range is above the hero, but the enemy should not be able to see him because he is behind a wall.
I can create the view range, no problem, but how can I make the view range not "see" the hero behind the wall?
Does anyone have an insight, tip or idea of how this can be done?
Game Music and Development: https://www.youtube.com/channel/UChTGzeboj3J4gWwaamERSbA