About iTS - Intelligent Traffic System – Unity Editor Tool & Plugin
Version 2.1.1 of **iTS - Intelligent Traffic System** provides a modular framework for managing vehicle artificial intelligence across city layouts. Operating on a node-based architecture, this asset replaces heavy, real-time main thread calculations with streamlined point-to-point waypoint processing. Road networks are constructed using structured data arrays that hold target lane indices, speed limits, link references, and intersection rules. To maintain high performance during dense traffic scenarios, autonomous vehicle decision-making relies on lightweight runtime state loops. The system relies on several core components: * **TSTrafficManager**: Acts as the primary execution hub, monitoring camera frustum boundaries, coordinating object pooling, updating active vehicle arrays, and controlling network-wide movement speeds. * **TSLane & TSPoint**: Lightweight data containers supplying raw geometric paths for turns, stop lines, and dynamic lane changes without burdening parent controllers with MonoBehaviour overhead. * **TSTrafficLight**: Event-driven intersection signals that adjust waypoint availability through configurable phase timers or sensor triggers. Performance scaling is handled via distance-based updates rather than running constant physics checks for off-screen entities. Close to the player camera, active vehicles employ multi-ray sensor detection. Weighing in .44 MB, this traffic management solution suits urban environments requiring optimized control over numerous moving entities.