MaterialFoundry / LockView

Foundry VTT module: Locks the view for the purpose of using Foundry on a digital playmat, such as a horizontally mounted TV. Scales the scene so the gridsize is always displayed corresponding to a real-world size, and can block zooming and panning
15 stars 7 forks source link

[FEATURE] Automatic updating of viewbox per observed tokens #124

Open scrachatron opened 1 week ago

scrachatron commented 1 week ago

When running in person and virtual hybrid (only forcing the in person TV screen to be forced viewport) it would be useful to have the viewport adjust to the average position of all "observed" tokens on screen.

A rough idea on how I see the implementation working:

A toggle box on specific bounding / view box When enabled for get the positions (in grid space) of all "observed" tokens that the user has access too Find the average position of all tokens set the display window centre to be on that grid square

This should allow for automagical camera following the party on a main screen whilst players can play and check owned character vision on their own devices, allowing for seamless transition for large maps implementing a sort of rolling dynamic combat maps where the DM doesnt have to move the view box manually along the map.