diag(phys): A6.P5 [cellset-build] probe — log BuildCellSetAndPickContaining output

One [cellset-build] line per call when ACDREAM_PROBE_CELLSET=1: seed cell,
sphere world XY, candidate count, full candidate id list. Used to prove
the cellSet for the player's start cell doesn't include the door's outdoor
cell across the over-penetration tick.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-05-25 12:40:58 +02:00
parent 2dc4cfd3e6
commit 7910d51e7a
2 changed files with 34 additions and 0 deletions

View file

@ -494,6 +494,11 @@ public static class CellTransit
}
}
if (PhysicsDiagnostics.ProbeCellSetEnabled)
{
PhysicsDiagnostics.LogCellSetBuild(currentCellId, worldSphereCenter, candidates);
}
// Containment test: for each candidate, transform worldSphereCenter to
// local and test PointInsideCellBsp.
foreach (uint candId in candidates)