Downtown Traffic System (DTS)
DOCUMENTATION TAB
Installation
- Download
dts_traffic_system-x.y.z.zipfrom your Superhive library. Don't unzip it. - In Blender go to Edit > Preferences > Get Extensions.
- Open the dropdown at the top right and choose Install from Disk…, then pick the zip.
- Make sure the add-on is switched on.
- In the 3D Viewport press N and open the Traffic tab.
The first time, the panel shows a Welcome card. Press Set Up Traffic. DTS creates the collections it needs (Traffic_Paths, Traffic_Intersections, Traffic_Barrels…) and the output objects.
To update, install the new zip the same way. It replaces the old version.
Five-minute start
- Roads tab: choose a road type (Straight, Cross, T-junction), set lanes and speed, press Generate. The road appears at the 3D cursor.
- Cars tab: press Load Sample Cars (or set your own Cars collection). Press Scan Cars again whenever you change the cars.
- Press the big Bake button at the top of the panel.
- Press Play (the ▶ button next to Bake, or the Space bar).
The status card under the logo always tells you what to do next.
What is in the package
Everything ships in one zip. Install that file in Blender and nothing else is needed.
| Item | What it is |
|---|---|
| Python files | The add-on code. |
assets/sample_cars.blend |
Ready-made sample cars (cars, buses, police, taxi, ambulance, truck) with separate wheels, lamp materials and left / right turn signal materials (Turn_L, Turn_R). |
assets/textures/ |
The textures of those cars. They are found automatically when you press Load Sample Cars. |
qcr/ |
Quick Car Rig, based on Rigacar by David Gayerie (GPL-3.0-or-later). |
README.md, LICENSE
|
The guide and the license. |
The sample cars are optional. You can use your own cars at any time.
The panel at a glance
At the very top, two buttons switch between the Traffic tool and the QCR tool. In Traffic mode the top of the panel is always visible: logo, status card, Generate, Bake and play / pause. The same quick buttons can also sit in the header of the 3D Viewport (turn that off in Settings > Panel).
| Tab | What it is for |
|---|---|
| Roads | Generate roads: straight, cross, T-junction, or several intersections in a row. |
| Edit Roads | Click a lane in the viewport and change its speed, cars per minute, lanes and turn shares. Use your own curves as roads. |
| Junctions | Detect intersections, signals, stop distance, hazard lights, traffic amount. |
| Barrels | Obstacles: anything in the Traffic_Barrels collection blocks traffic. |
| Cars | Your car models, wheels, turn signals, service cars, emergency lights, colors. |
| Night | Headlights, lamp materials, sun and sky for night scenes. |
| Settings | Frame range, variation, pre-roll, lane changes, speed by vehicle, body roll. |
| Tools | Check Setup and Clear Bake. |
Roads
Creates roads for you at the 3D cursor.
| Group | Settings |
|---|---|
| Shape | Length, lane distance, lanes per direction (1 to 8), lane width, turn lanes, angle between roads, rotation. |
| Traffic | Two-way or one-way, drive on the right or left, cars per minute, speed, and the share of cars that turn right or left at junctions. |
Intersections in a Row
- In the Roads tab choose Intersections in a Row.
- Set Intersections (2 to 8) and Distance Between (centre to centre).
- Press Generate. The row is built around the 3D cursor; Rotation turns it.
The main road is one set of long lanes through every intersection, so a car that passes the first intersection really arrives at the next one. Arm Length is the reach of the side streets and of the row beyond its first and last intersection. Keep the distance larger than twice the turn radius plus the road width (the panel warns you). The lane buttons in Edit Roads work on the whole row.
Edit Roads
Click any lane of a generated road or junction in the viewport, then edit it here: speed, cars per minute, number of lanes (– / +), lane distance, lane width and, for junctions, Turn Right % / Turn Left %. The turn shares can be changed after the road was generated; the turn curves are added or removed by themselves.
| Section | What it does |
|---|---|
| Selected Road | Speed limit, cars per minute, spawn on / off and Lane Changes on / off for the curve you picked. |
| Whole Road | The same settings for a generated road as a whole. |
| Your Own Curves | Use any Bezier / NURBS curve as a road. Add Path or Use Selected Curves make a curve a road, Treat every curve as a road does it for the whole scene, Split into N Roads separates a curve that has several lines. |
Press Bake again after changing road settings.
Junctions and signals
| Option | What it does |
|---|---|
| Detect Intersections | Finds every place where roads cross or merge. Each junction becomes an Empty. Scale the Empty to make cars stop farther back (for example at a traffic light). |
| Stop Back (m) | Cars wait this much farther back from every intersection. Use it when long vehicles (fire trucks, buses) stop on the zebra crossing. Bake again after changing it. |
| Intersection Mode | Free Flow (first come, first served) or Timed Phases (each direction gets a green). |
| Green Time | Length of each green. Give one junction its own value with a custom property green_time on its Empty. |
| Skip empty phases | Stops cars waiting for a green nobody uses. |
| Hazard Lights at Obstacles | A car that waits in front of an obstacle blinks both turn signals. Found in Cars > Signals. Bake again after changing it. |
| Live Traffic | Under Play, no bake needed: shows only part of the baked cars, from 0 to all of them. Go from empty streets to a busy city while the animation plays. |
| Traffic to Bake (up to 10) | Multiplies cars per minute on every road when you bake. It is the most traffic the scene can show, so bake it high and bring it down with Live Traffic. |
Barrels and obstacles
Anything you put in the Traffic_Barrels collection is an obstacle: a cube, a cone, a broken-down truck, a crash. Cars stop in front of it while it blocks their lane, and the queue builds up behind it.
| Option | What it does |
|---|---|
| Appears Here / Gone Here / Always There | Select the barrel, go to a frame, press the button. The barrel only blocks traffic between those frames. Use it for sudden events. |
| Blocks Within (m) | How close to a lane's centre line an object must be to block it. |
Press Bake again after moving barrels.
Cars
| Option | What it does |
|---|---|
| Cars collection | The collection that holds your car models. Each car can be an object or a sub-collection (body + wheels). |
| Scan Cars | Measures length, width, wheelbase and wheel size of every car and tells you if something looks wrong. |
| Load Sample Cars | Appends the cars that ship with DTS (wheels and textures included) and uses them as the Cars collection. The originals are hidden; the traffic shows copies. |
| Animate Wheels | Wheels spin and the front wheels steer. Wheels are found by name (wheel, tire, tyre, rim). |
| Swap Cars (live) | Reshuffles which model each car uses, instantly, with no bake. It only swaps between models of a similar size, so cars never overlap. |
| Origin & Spacing | Where your models' origin sits (only used when wheels can't be found), plus the gap between stopped cars. |
| Car Colors | Gives every car a color that stays the same for its whole trip. |
Tips for your own cars
- Put the model's origin on an axle.
- Face the car along its own forward axis (+Y).
- Name the wheels clearly.
- A long vehicle such as a bus needs a Lane Distance of about 2.25 m or more; the panel warns you.
Turn signals
Cars indicate before they turn: the signal starts about 3 seconds (at least 25 m) before the turn and stops when the car has left it. Cars waiting at a junction keep blinking. It works day and night and every car blinks with its own timing. Signals are shown for real turns (about 35 degrees or more), not for gentle bends.
Materials
The add-on finds the lamps by material name. The name must contain turn, signal, indicator, blinker (or sein) and say which side with left / right or _L / _R, for example Turn_L or Indicator_Right. One material per side is enough; front and rear lamps of the same side can share it.
- Only one material for both sides? Press Split Left / Right. It makes a left and a right copy and gives every lamp the one on its side of the car.
- A lamp not found by name? Select it, pick its material and press Left or Right.
Settings
Starts Before Turn needs a bake. Signal Glow and Blink Speed are instant.
Service cars
Police cars, ambulances, fire trucks, buses, taxis and utility vehicles. The add-on finds them by the name of the car: police, cop, ambulance, fire truck, bus, taxi, service / truck / van.
A car with another name? Add the custom property service to the car: POLICE, AMBULANCE, FIRE, BUS, TAXI, UTILITY, or NONE for a normal car.
| Where | What it does |
|---|---|
| Live, no bake | The Service Cars slider shows or hides the service cars the bake made (0 = none, 1 = all). Below it, every kind that was found has its own slider. A hidden service car becomes a normal model of about the same size or shorter, so a bus that goes leaves a gap, never an overlap. |
| In the bake | Service Cars in Bake (default 0.3) is the share of cars the bake makes as service cars, i.e. the most the live slider can show. Raise it and bake again for more. |
Emergency lights
Police and ambulance light bars flash. The pattern is fixed and nothing is random: a double flash per lamp color, with red, white and blue interleaved. Every car has its own fixed starting point, so two emergency cars side by side are not in sync.
Materials
The car model needs lamp materials named Emergency_Red, Emergency_Blue and Emergency_White. Use only the colors the vehicle has. A name that says emergency, siren, lightbar, beacon or strobe together with red, blue or white also works. The add-on wires them by itself every time you press Bake, or press Find Emergency Lights to wire them without a bake.
Different timing on one car: lamps that use the same material flash together (except for Lamp Variation). Make more materials of the same color (Emergency_Red, Emergency_Red.001, Emergency_Red.002…) and every number starts its flash at another moment, so the left and right lamps of a bar can alternate.
Settings (no bake needed)
| Setting | What it does |
|---|---|
| Emergency Lights | On / off for all cars. |
| Only at Night | Off by default: the lights flash by day as well. |
| Cars With Lights On | Share of the emergency cars that have their lights on. The same cars stay on, so the result is the same every time. |
| Lamp Variation | Every lamp lens of a color flashes at its own moment. 0 = all together. |
| Lamp Glow / Flash Speed | Brightness and speed of the flash. |
A lamp not found by name? Select it, pick its material and press Red, Blue or White.
Night mode
| Option | What it does |
|---|---|
| Night Mode ON / OFF | Switches everything below on or off. Turning it off restores your sun and sky. |
| Find Lamp Materials | Scans your cars for headlamp and tail-lamp materials. |
| Headlights | Real lights, one or two per car (Spot or Point), with strength, beam width, tilt, height and optional shadows. To keep it fast, only the cars nearest the camera are lit. Use Max Lit Cars and Only Within to balance quality and speed. |
| Beam Softness | Makes the edge of every beam fade out smoothly. |
| Head and Tail Lamps | The glowing lamp materials of the cars. Rear lamps get brighter when the car brakes or stands still. If a lamp is missed, select it, pick its material and press Headlamp or Taillight. |
| Road Reflection | How much the headlights reflect on a wet road. Lower it if the road sparkles or the light pools look like white patches. |
| Sun and Sky | Dims the sun and world while night mode is on. |
Settings
| Setting | What it does |
|---|---|
| Range | The bake covers the scene's frame range. |
| Variation | The seed of the traffic pattern (when cars appear, which sizes, how fast). Change it and bake for a new pattern. To change only the car models use Swap Cars. |
| Pre-roll | Simulated time before frame 1 so the roads are already full when the animation starts. 0 = automatic (up to 240 s). |
| Lane Changes | On by default. A car stuck behind something much slower (a bus, a van) looks at the lane next to it. If there is room it switches on its turn light, waits about 1.7 s and moves over smoothly (about 3 s), then goes back to its own lane when the way is free. |
| Speed by Vehicle | The road's Speed is the top speed. Normal cars drive 76–100 % of it, police and ambulances a little faster, vans and trucks slower, buses slowest. Bus Top Speed (default 50 km/h) and Van & Truck Top Speed (default 70 km/h) are hard limits. Speed Variety 0 = everybody drives about the road speed. Lane Stagger (default 0.3) sets how often cars of neighbouring lanes enter one after the other. |
| Motion | Body Roll / Pitch is the chassis lean in turns and the nose-dive when braking (0 = off). Corner Grip limits how fast cars take a turn: lower values make them slow down more, whatever the road speed is. |
| Panel | Header buttons and logo size. |
Lane changes only happen between lanes that run the same way and end at the same place, never close to an intersection or an obstacle, and never across two lanes at once. Switch them off for the whole scene here, or per lane in Edit Roads > Selected Road. When both lanes are packed with cars there is no room to move over, so very busy roads show few lane changes. The message after a bake says how many lane changes happened.
Bake again after changing any of these.
Tools
| Button | What it does |
|---|---|
| Check Setup | Checks the scene and lists what is wrong (missing cars, broken paths…) in plain words. |
| Clear Bake | Removes the stored simulation. |
At the very bottom, three links: Find More, Community and YouTube.
Quick Car Rig (QCR)
Press QCR at the top of the panel to switch to the Quick Car Rig page (press Traffic to go back). It rigs your own vehicle so its wheels spin, the front wheels steer and the body reacts to bumps. It is independent from the traffic bake: use it for hero cars, trucks or anything you animate by hand or along a path.
Rig tab
- Fastest way: select the body and the wheels and press Auto-Detect Parts.
- Or use the live blueprint: a top-down picture of the vehicle with a button for every part (FL, FR, RL, RR and BODY). Select the part in the viewport and click its button. The part lights up in the picture, so you see what is still missing.
- Trucks: switch Vehicle to Truck and use Add Axle for extra rear axles. Front of the vehicle = lower Y side, left = +X.
- Options: Center Wheel Origins (needed for correct spin) and Brake Discs (optional extra bones).
- Press the big Rig Vehicle button. Wheels keep their exact place. The result is one armature called
QCR Rig; use Select Rig / Remove Rig to find it or undo everything.
Tuning tab
Real-time wheel spin on or off, spin multiplier, pitch / roll of the body, working headlights and tail lights.
Motion tab
Create a test drive without any traffic: pick a path (an automatic oval track or your own curve), set speed, laps, drift and steering strength, press Create Motion, play, then Bake to Keyframes so the wheel spin and steering are stored as plain keyframes.
QCR is built on Rigacar by David Gayerie (GPL-3.0-or-later), adapted for Blender 4.5+ and renamed (dts_qcr.*) so it never clashes with a separately installed Rigacar.
Typical workflow
- Generate a road or draw your own curves.
- Add or load cars, then Scan Cars.
- Detect Intersections (done automatically after Generate if enabled).
- Adjust speeds, cars per minute and signals.
- Drop barrels if you want an incident.
- Bake, then Play.
- Switch on Night Mode for night scenes.
- Render. Headlights follow the camera during rendering.
When do I need to bake again?
| Bake again | No bake needed |
|---|---|
| Roads, junctions, barrels, car sizes, Variation, Pre-roll, Body Roll, Corner Grip, Lane Changes, Speed by Vehicle, Stop Back, Traffic to Bake, Starts Before Turn, Hazard Lights | Swap Cars, Live Traffic, Service Cars slider, Emergency Lights settings, Night settings, Car Colors, Signal Glow, Blink Speed |
Panel messages tell you when the roads changed since the last bake.
Troubleshooting
First press Tools > Check Setup. It lists what is wrong in plain words.
| Problem | Fix |
|---|---|
| The Traffic tab is missing | Press N in the 3D Viewport and check the add-on is enabled in Preferences. |
| No cars appear | Press Generate, then Load Sample Cars (or set your Cars collection), Scan Cars, then Bake. |
| Wheels don't spin | Name the wheels clearly (wheel, tire, tyre, rim) and press Scan Cars. |
| Turn signals don't blink | Check the lamp material names (Turn_L / Turn_R) or use Split Left / Right. Lamp materials need a Principled BSDF or Emission node. |
| Emergency lights don't flash | Name the materials Emergency_Red / Blue / White and press Find Emergency Lights. |
| A bus or fire truck stops on the zebra crossing | Raise Stop Back (m) in the Junctions tab, then bake again. |
| Cars overlap each other | Use Scan Cars to check car sizes. Long vehicles need Lane Distance of about 2.25 m or more. |
| Cars appear and vanish where roads meet | Roads were generated separately. Use Intersections in a Row instead of overlapping crosses. |
| The road is full and cars barely move | Lower Traffic to Bake or Cars / Minute, or increase Green Time. |
| No headlights at night | Switch Night Mode ON, press Find Lamp Materials, and raise Max Lit Cars / Only Within. |
| The road sparkles at night | Lower Road Reflection. In Cycles set Filter Glossy to 1.0 and Clamp Indirect to about 3. |
| Few lane changes | Normal on very busy roads. A lane change needs a free gap in the next lane. |
Links
The bottom of the panel opens Find More, Community and YouTube.
When you ask for help, mention your Blender version and send a screenshot of the Tools > Check Setup result.
FAQ TAB
Frequently asked questions
Discover more products like this
vehicles blender-traffic traffic simulation city night-lights procedural-roads blender road generator blender 5 traffic animation blender add-ons Cars