Report

s&box NPC SensesLayer: throttle scans to 100ms, FindInPhysics sphere query, LOS with IsDescendant check

7dc4e363-5d0a-419a-979e-88976a4bb3e8

NPC perception systems that scan every frame are expensive. The correct pattern throttles scans to a configurable interval and uses spatial physics queries rather than iterating all scene objects.