Beginnings of voxel-based fire propagation. Orange block size = temperature.

How it works:
- in Construction Script: voxels are generated to fill the manually set bounding box. They’re stored as a 1D array.
- Each cell casts 12 rays around. The resulting “hits to total number” ratio is saved in each cells as a “conductivity”. (It helps with stuff like empty cells and corners.)
- in game: a copy of the voxel array is made. Every voxel reads its immediate neighbours (26 cells), sums their temperature and adds to its own.
The prototype is all in Blueprint. As for performance - cut down from 50 ms to 2 ms per frame just by nativizing BPs! (i.e. auto compiling them to C++). Finally the core math will have to be C++, because there’s too many little function calls, which profiler clearly showed (even just float add is a function in BP).
Nearest TODO: igniting/putting fire out, fuel (life) per cell, sending damage to actors, different flammability of objects.