caewok / fvtt-elevated-vision

Adjust Foundry VTT vision, lighting, and token elevations based on terrain, wall, or token elevation.
MIT License
12 stars 5 forks source link

[Feature Request] Token Visibility Based on Partial Visibility of Token Top/Bottom #93

Closed Larkinabout closed 9 months ago

Larkinabout commented 9 months ago

Would it be possible please, possibly as an optional setting, to allow one token to see another where the top of the viewed token is partially visible?

Please see a couple of examples shown in this video: elevatedvision-prone-visibility

In the first instance, the token outside (with a token height of 5) can see the prone token (with a token height of 2) when it is next to the wall (2 foot high), but the token inside cannot see the token outside. Diagram for an idea of how much the token inside would see from its centre: image

In the second instance, the token inside (now with a token height of 5) can see the token outside (still with a token height of 5), but the token outside cannot see the token inside. Diagram for an idea of how much the token outside would see from its centre: image

Larkinabout commented 9 months ago

Just discovered: https://github.com/caewok/fvtt-token-visibility, so looks like you've already solved it elsewhere!