# Simple Traffic System

## Simple Traffic System

- [Simple Traffic System](https://simpletrafficsystem.turnthegameon.com/master.md)
- [Project Setup](https://simpletrafficsystem.turnthegameon.com/project-setup.md)
- [FAQ](https://simpletrafficsystem.turnthegameon.com/tutorials/faq.md): Frequently Asked Questions
- [Quick Start Guide](https://simpletrafficsystem.turnthegameon.com/tutorials/quick-start-guide.md)
- [Video Tutorials](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials.md): Video tutorials designed to teach workflow and get you up and running quickly.
- [1. Getting Started](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/getting-started.md)
- [2. Connecting Routes](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/connecting-routes.md)
- [3. Traffic Lights](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/traffic-lights.md)
- [4. Spline Route Creator](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/spline-route-creator.md)
- [5. Spawn Points](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/spawn-points.md)
- [6. Lane Changing](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/lane-changing.md)
- [7. Traffic Pooling](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/traffic-pooling.md)
- [8. New Car Prefabs](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/new-car-prefabs.md)
- [9. Route Editor](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/route-editor.md)
- [10. Deleting Waypoints](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/deleting-waypoints.md)
- [11. Deleting and Setting Up Random Spawn Points](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/deleting-and-setting-up-random-spawn-points.md)
- [12. Yield Triggers](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/yield-triggers.md)
- [13. Preferences Window](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/13.-preferences-window.md)
- [14. Vehicle Types](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/14.-vehicle-types.md)
- [15. Stop Signs](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/15.-stop-signs.md)
- [16. Using A Player Car](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/16.-using-a-player-car.md)
- [17. Multiple Routes Per Light](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/17.-multiple-routes-per-light.md)
- [18. Integrations](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/18.-integrations.md)
- [19. Procedural Traffic and City using CiDy](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/19.-procedural-traffic-and-city-using-cidy.md)
- [20. Auto Rig AI Traffic Car](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/20.-auto-rig-ai-traffic-car.md)
- [21. URP & HDRP Demos](https://simpletrafficsystem.turnthegameon.com/tutorials/video-tutorials/21.-urp-and-hdrp-demos.md)
- [API](https://simpletrafficsystem.turnthegameon.com/documentation/api.md): This section is under construction, please inquire if you have API related questions that are not documented.
- [AITrafficCar](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficcar.md): Primary component used on AITrafficCar prefabs, controlled by the AITrafficController.
- [AITrafficController](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficcontroller.md): Controls logic and movement for AITrafficCars using the Job System and Burst Compiler.
- [AITrafficLight](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficlight.md): The tutorial workflow has this component controlled by AITrafficLightManager, but you can also write your own scripts to control a light for a route.
- [AITrafficLightManager](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficlightmanager.md): Controls groups of AITrafficLights for an intersection.
- [AITrafficStop](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficstop.md): The tutorial workflow has this component controlled by AITrafficStopManager, but you can also write your own scripts to control a stop for a route.
- [AITrafficStopManager](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficstopmanager.md): Controls groups of AITrafficStops for an intersection.
- [AITrafficWaypoint](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficwaypoint.md): When the car reaches each waypoint, a variety of settings can be configured, like setting a new speed limit, stop driving, move to a new route, trigger custom events, and more.
- [AITrafficWaypointRoute](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficwaypointroute.md): Holds an array of waypoints used for path-finding, updating car settings, and triggering events.
- [AITrafficWaypointRouteInfo](https://simpletrafficsystem.turnthegameon.com/documentation/api/aitrafficwaypointrouteinfo.md): Controls if cars can exit route, or if yield trigger is active requiring cross traffic to stop.
- [SplineRouteCreator](https://simpletrafficsystem.turnthegameon.com/documentation/api/splineroutecreator.md): Generates multiple AI Traffic Waypoint Routes and their Waypoints along a spline.
- [Asset Integrations](https://simpletrafficsystem.turnthegameon.com/documentation/asset-integrations-1.md)
- [IK Avatar Driver](https://simpletrafficsystem.turnthegameon.com/documentation/asset-integrations-1/ik-avatar-driver.md)
- [Stylized Vehicles Pack - Low Poly](https://simpletrafficsystem.turnthegameon.com/documentation/asset-integrations-1/stylized-vehicles-pack-low-poly.md)
- [Demo Scenes](https://simpletrafficsystem.turnthegameon.com/documentation/demo-scenes.md)
- [Prefabs](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs.md): This section explains how prefabs are used, and where the prefab objects are located.
- [AITrafficCar](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficcar.md)
- [AITrafficController](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficcontroller.md)
- [AITrafficSpawnPoint](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficspawnpoint.md)
- [AITrafficWaypointRoute](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficwaypointroute.md)
- [AITrafficWaypoint](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficwaypoint.md)
- [AITrafficLightManager](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficlightmanager.md)
- [AITrafficStopManager](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/aitrafficstopmanager.md)
- [SplineRouteCreator](https://simpletrafficsystem.turnthegameon.com/documentation/prefabs/splineroutecreator.md)
- [STS Tools Window](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window.md)
- [Spawn Buttons](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons.md): These buttons will instantiate the named object into the scene.
- [AI Traffic Controller](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons/ai-traffic-controller.md)
- [AI Traffic Waypoint Route](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons/ai-traffic-waypoint-route.md)
- [AI Traffic Light Manager](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons/ai-traffic-light-manager.md)
- [AI Traffic Stop Manager](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons/ai-traffic-stop-manager.md)
- [Spline Route Creator](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/spawn-buttons/spline-route-creator.md)
- [Configure Mode](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode.md): Switch between SceneView tools.
- [Lane Connector](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/lane-connector.md)
- [Route Connector](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/route-connector.md)
- [Route Editor](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/route-editor.md)
- [Signal Connector](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/signal-connector.md)
- [Spawn Points](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/spawn-points.md)
- [Stop Connector](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/stop-connector.md)
- [Yield Triggers](https://simpletrafficsystem.turnthegameon.com/documentation/sts-tools-window/configure-mode/yield-triggers.md): \*Attaching to  a route requires the route to have a traffic light controlling it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://simpletrafficsystem.turnthegameon.com/master.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
