kushal3553
October 29th, 2020, 22:51
Hi all, pretty new to adding LOS to Unity maps, and was wondering if anyone had ideas about how to code a specific use case. In my scenario the players are at ground level 200 feet from a cliff (which is 60 feet tall), but there are a number of 10-20 foot tall buildings (or could be boulders) in between the players and the cliff. Is there any way to code it so the players have line of sight to the top of the cliff, but not to the backside of buildings in between themselves and the cliff?
See example below (XX= potential enemies)
See example below (XX= potential enemies)