erithtotl / wall-height

New fork of original project for continued improvements.
https://github.com/erithtotl/wall-height
GNU General Public License v3.0
6 stars 9 forks source link

Feature Request: Peek-a-boo, I see you too! #6

Open danthemanb opened 3 years ago

danthemanb commented 3 years ago

Currently, a creature lower than the wall cannot see anything on the opposite side. However, if a creature were flying above the wall such that they could look over it, it seems possible that a creature lower than the wall could see the creature on the other side, above the wall.

Would there be any way to reveal vision of only tokens taller than the wall, to creatures on the other side of the wall?

erithtotl commented 3 years ago

Here we are bouncing into the limitations of foundry. It determines line-of-sight based on walls in a 2-dimensional fashion. This means that its going to register the person as not being able to see above the wall because the wall is taller than where they are. It doesn't actually do line-of-sight to individual tokens or 3-dimensional line of sight calculations. So basically, if you are higher than a wall, you can see everything past that wall, if you are lower, you can see nothing :(

ParadoxSong commented 2 years ago

The sensor-sight module for Lancer manages to get around not being able to see over walls, maybe that could provide insight? https://github.com/BoltsJ/sensor-sight