Simple Traffic

Date Updated: 
Author Name: 
Vugar Naib

Hi All!

This is my first full-length script, and i hope that it will prove useful.

Best regards.

Additional Info: 

Update 03-11-2010
Now script warns of the error.


1. Select the desired objects and click on "Get Cars To Array"
Note! These objects should be solid.

2. Select the desired path and click on "Spread Cars"
Note! In addition to the flow of moving objects the script also adds a layer
into the layer manager for easy selection of the flow.

3. To change any settings, select the flow in the layer manager,
enter the desired value, and click the "Reset Cars"

Note! Script warns of the error, but if some actions returns error
i recommend to restart

FP Rand - Random positioning value within the distance between objects in parallel to the flow (in percentage).

WP Rand - Random position value perpendicular to the flow.

4. To replace objects in the flow matrix, select desired objects, press on "Get Cars To Array" then select traffic and press on "Reset Cars"

Flip Follow - Changes the direction of the flow to opposite.

Flip Cars – Reverses the objects in the flow on 180 degrees.

Version Requirement: 
3ds Max 2008 +
Video URL: 
VN_Simple_Traffic_v1_edit2.rar63.37 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hanselmoniz's picture

Awesome script

The Script is very useful. It would be excellent however if we could have rotating wheels too. Just like civil view functionality

zules's picture


Hi !

Nice script thank you ! But I got an error as : "--Unknown property: "addnode" in undefined "

Any idea where it comes from ?

By the way, when I try to use it it also sometimes spread my poly all around and not along the selected spline... Any advice about the pivots pints and where they have to be ? When I reset them (on poly + spline) I got the error I writted first...

Thank you !

3D_Animator's picture


Welcome! :)

killer_boy's picture

very nice, thanks a lot &

very nice, thanks a lot & BRAVO :)

3D_Animator's picture

Your object must be solid(single mesh) Or...

Hi wearestardust
Your object must be solid(single mesh)
Or use attachment constraint for attached headlights to cars

wearestardust's picture

Hi there, great script, but

Hi there,

great script, but is there a way how I could easily make it compatible with grouped objects?
For example: I need headlights attached to my cars and to get them to move with the cars, I need to either link them to the mesh or group them, but neither of these options work with your script...:(

caracola213's picture

Thank you for the

Thank you for the information! I searched all over google for this.

3D_Animator's picture

You are welcome :)

You are welcome, and thank you all for comments :)

christinoccs's picture


AWESOME,it works perfectly on Max 2012, GREAT plug-in, THXxxxx

The Mind Forest's picture


Looks really cool!

Check out my site -

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.