Overview
In this section, we will explore how to add vehicles to the roads and how to control their behavior using the parameters available in Vroom. Traffic flow in Vroom is managed through two key sections: vehicle Crowd parameters and Road Properties parameters. Each plays a distinct role in defining how vehicles populate the roads, move, and interact with the environment.
While crowd parameters define how individual cars behave and respond to their environment, road properties parameters dictate how those vehicles interact with specific road segments and intersections. For instance, if a road has a speed limit of 50 km/h in the road properties, this will be the base speed applied to all vehicles traveling on it. Over that, a speed variation will be applied based on the parameter defined on the crowd generation section.
By combining these two systems effectively, users can create a wide range of realistic traffic scenarios, from densely packed city streets with frequent lane changes to smooth-flowing highways with minimal intersections. Mastering these parameters will allow you to fine-tune your road networks and bring an extra layer of authenticity to your 3D projects.
Vehicle Tool Buttons
On the upper side of the vehicle tool params you will find the following buttons:
- Generate: By using this button the road will be populated following the settings defined in the Crowd section (see the Vehicle Crowd section below).
- Manual mode: This button sets to “manual” all the vehicles present on this road, that is, are considered as if they were manually placed at the relative positions they are currently at by a direct drag and drop from the library.
- Randomize: This button randomly changes each vehicle model from the road without modifying their positions in the scene.
Manual vs. Generated
As it happens with people assets, vehicles can also be placed in the 3D scene with a simple and intuitive drag and drop gesture. When using this method, the assets are set to “manual mode” and an “M” symbol appears on top of them.
Click on the gif to open it in full size
In the same way, it is also possible to drop the vehicles on a particular place of a road.
Click on the gif to open it in full size
On the other hand, when the vehicles are generated automatically using the GENERATE button, they have an “A” symbol on them.
To learn more about the automatic generation, take a look at the Vehicle Crowd section.