The #202 POC payoff: runtime-spawn parked cars only where the camera can see them.
Scope
- Fork
TrafficManager's loop: ring + distance cull + paced maxSpawnsPerTick + wait-for-chunk road raycast + shared target resolution.
- Add the two upgrades it lacks:
- a real
ObjectPool<T> (TrafficManager Instantiate/Destroys);
- a frustum spawn-gate (
GeometryUtility.CalculateFrustumPlanes + TestPlanesAABB).
- Route the gate through a single
IsVisible(pos) seam so occlusion drops in later untouched.
- Tune hysteresis/latency so cars don't visibly pop as the camera turns.
- Measure against the spike's baseline.
Blocked by the runtime-data change. Parent: #202.
The #202 POC payoff: runtime-spawn parked cars only where the camera can see them.
Scope
TrafficManager's loop: ring + distance cull + pacedmaxSpawnsPerTick+ wait-for-chunk road raycast + shared target resolution.ObjectPool<T>(TrafficManager Instantiate/Destroys);GeometryUtility.CalculateFrustumPlanes+TestPlanesAABB).IsVisible(pos)seam so occlusion drops in later untouched.Blocked by the runtime-data change. Parent: #202.