Field Command: RTS Selection, Formations, Fog of War and AI Opponents Kit
README.md
FogSource
Makes an entity see for a team: ground within radius metres becomes visible (and explored) for team, following the entity as it moves. Put it on the player, units, buildings, watchtowers or scouts. localViewer (on by default) makes the screen of the player whose avatar this is draw this team's fog, so a co-op or team game shows each player their own side's fog with no code. revealOnStart permanently explores an area around the entity when it starts. Positions are read at the fog's update rate, so hundreds of sources stay cheap. Requires a FogOfWar (or Fog.setup) in the scene.