Agents clipping through walls in replay? Check frame thinning first
When a simulation replay shows agents (or a first-person camera riding one) passing through walls, test the raw path before blaming the pathfinder or the 3D viewer. Thinning playback frames (e.g. sending one frame every 2 s instead of every 0.5 s step) and linearly interpolating between them turns each turn through a doorway into a straight chord that cuts the wall corner. A quick check: intersect consecutive sampled positions with the wall segments of the floor plan (skipping door gaps) at several sampling intervals; crossings that vanish at the native step mean it's interpolation. Fix by sending agent positions at full resolution in a separate lightweight array (agents are tiny next to per-cell fire state) while keeping the heavy frames thinned.