Overview
Mobile Traffic System - High-Performance Vehicle AI for any platform.
Create realistic, dense urban traffic with 300+ cars running smoothly on mobile. Zero coding required.
Nominated for Best Development Tool at Unity Awards 2021.
Why Mobile Traffic System?
Mobile Traffic System is the only Unity traffic asset that combines mobile-grade performance with production-ready intersection intelligence — roundabouts, zipper merges, emergency vehicle priority, and truck with trailer support, all without writing a single line of code.
---
🚦 Upgrade to the Full City Ecosystem!
Check out the Complete City Traffic & Pedestrian System bundle.
It combines this advanced traffic system with our high-performance pedestrian engine.
Because they share the same architecture, your pedestrians will automatically use crosswalks, check traffic lights, and stop for incoming vehicles right out of the box.
[Get the All-in-One Bundle Here and Save $24]
---
🚀 Key Features
✔ 300+ Cars on Mobile
✔ Truck & Trailer Support
✔ Complex Intersections
✔ Overtaking & Lane Changes
✔ Roundabouts & Zipper Merges
✔ Advanced Pathfinding
✔ Custom Vehicle Behaviors
✔ Emergency Vehicle Priority
✔ Open-World Ready
✔ Burst Optimized
✔ Zero Coding Required
---
⚡ Performance & Optimization
- Tested Mobile Benchmark: Smoothly runs 300 cars on a mid-range 2018 Android device.
- Parallel Job System: Powered by a specialized job structure driven entirely by the Unity Burst Compiler.
- Pure raycast physics: Eliminates heavy Unity Wheel Colliders for significantly lower CPU overhead.
- Grid Pooling: Dynamically manages vehicle pools around the player for seamless open-world scaling.
- Pooled Vehicles: Keep specific vehicle pools uninstantiated and activate them via script exactly when needed.
- Optimized Navigation: Ultra-fast waypoint processing prevents pathfinding bottlenecks.
- Universal Scalability: Works flawlessly on any platform that supports the Burst Compiler.
- Future-Proof: Requires Unity 2021.3 LTS or above — compatible with Unity 6.
---
🛣️ Intersection & Road Behavior
- Traffic Light Intersections: Full support with automatic smart braking and stop logic.
- Priority Intersections: Vehicles independently decide whether to wait, yield, or enter.
- Street Crossing Support: Integrated pedestrian crossings with or without traffic lights.
- Roundabout Intelligence: Vehicles wait until the roundabout is clear before entering.
- Narrow Road Handling: Vehicles wait for the oncoming lane to be free before merging or passing.
- Complex Give Way: Force side-road traffic to monitor designated main-road waypoints, ensuring vehicles only merge when the oncoming lanes are entirely clear.
- Zipper Merging: Vehicles take turns advancing when a multi-lane road converges or narrows.
- Speed Routes: Apply global or lane-specific speed limits across any custom area of your scene.
- Zone Restrictions: Categorize vehicles (e.g. sedans, trucks, special-purpose) and restrict access by type or zone; force heavy trucks to outer lanes only or block them from entering city centers entirely.
---
🧠 Vehicle Intelligence
- Overtake & Lane Selection: Vehicles automatically check adjacent lanes and safely pass slower traffic. Lane changes can also be triggered via the API.
- Emergency Vehicle Priority: Traffic actively pulls over and clears the way for ambulances or custom emergency vehicles.
- Building Avoidance: If a vehicle accidentally collides with static environment colliders, it attempts to recover autonomously.
- Variable Wheel Support: Scales perfectly from 3-wheel setups to heavy multi-wheel configurations.
- Customizable Properties: Easily tweak acceleration, max speed, brake speed, steer angles, and more per vehicle.
- Truck & Trailer Support: Full articulated truck behavior out of the box.
- Natural Lane Offset: Vehicles no longer drive perfectly centered; a subtle, realistic offset is applied automatically.
- Custom Behaviors: Create and assign fully custom vehicle behaviors without modifying core system code.
---
🗺️ Pathfinding & Navigation
- Waypoint Pathfinding: Vehicles navigate waypoint networks with full branching and lane-switching support.
- Shortest Path Calculation: Automatically find the quickest route between any two nodes in your scene.
- Direct Path Following: Programmatically assign a specific, strict route for any vehicle to follow.
- Destination Routing: Send any vehicle from its current position to a specific map destination via a simple API call.
- Priority Waypoints: Set the importance of roads to control spawn density; more vehicles on main roads, fewer on secondary ones.
- Custom Waypoint Events: Trigger dynamic script actions the moment a vehicle reaches a marked waypoint.
---
🚘 Supported Vehicles
- Articulated Vehicles: Full support for multi-segment articulated vehicles, including trucks with trailers navigating corners and waypoint networks cleanly.
- Any Custom Model: Any custom vehicle model is supported using our one-click automated setup window.
- Supported Categories: Bikes, Cars, Trucks, Trailer Vehicles, and Special-Purpose Vehicles.
---
🎮 Player Integration
- Universal Compatibility: Works out of the box with any custom controller, humanoid player, or Asset Store driving asset.
- Interactive Components: Traffic vehicles recognize the player, giving them priority at intersections and overtaking them safely even if stationary.
- Behavior Overrides: Take complete manual control of any AI vehicle via the API at any time.
---
🔊 Lights & Sound
- Automated Lighting: Headlights, brake lights, blinkers, and reverse lights all trigger logically based on vehicle actions.
- Engine Sound: Basic per-vehicle engine sound that responds to acceleration and speed.
---
🛠️ Extensible & Developer Friendly
- Zero Coding Setup: Automatic car assignment and configuration windows at the press of a button.
- Custom Editor Tools: Multiple editor windows to streamline integration.
- Clean API: Fully documented, developer-friendly API for all advanced custom logic.
- Custom Waypoint Events: Trigger unique gameplay logic the moment a vehicle reaches a marked waypoint; ideal for parking lots, gas stations, or scripted events.
- Event Subscriptions: Subscribe to system events for deep monitoring and customization.
- Delegates: Override default system behaviors with your own logic.
- Left/Right-Hand Traffic: Switch the direction of the entire waypoint network with a single click (currently in beta).
- Complete Source Code: 100% open and commented.
---
🔄 Improvements from v2
- Ability to create custom behaviors for vehicles.
- Improved vehicle driving physics.
- Improved vehicle collisions.
- Improved braking and deceleration for a more realistic feel.
- Significantly improved code structure.
- Vehicles overtake using the highest speed lane when multiple lanes are available.
- Vehicles no longer drive perfectly aligned — a natural lane offset is applied automatically.
- All V1 and V2 features are fully preserved in V3.
---
🔌 Integrations & Compatibility
---
🕹️ Demos
Android | PC
---
📦 Included Content
- Everything shown in the demo is included in the package.
- 1 mobile-ready car with 3 LODs and changeable colors (thanks to PolyNinja).
- 9 road tiles that can be assembled into any road layout.
- 20 simple city buildings for environment population.
- 1 demo scene combining all of the above.
Need more vehicles? The following vehicle packs have been tested and verified for use with the Mobile Traffic System and can be integrated with a single click:
Gridlock - City Traffic Vehicle Pack
Mobile Traffic Truck
1 Click Integration tutorial
---
💬 Documentation & Support
For fast technical support and the ability to vote on upcoming feature roadmaps, join our active Discord community.
Connect With Us: Discord | Email | Website
IMPORTANT! Please include your Unity Asset Store invoice number in your first support message.
---
Detailed Setup Guide: Check the Documentation.
Video Tutorials: Playlist
Upgrade Notice: If you own v1 or v2 of this asset, please follow the upgrade instructions in our documentation before updating to v3.
---
Explore More: If you are interested in other assets made by GLEY visit our Asset Store Page.