V2 vs V1

Improvements made in V2 that are not present in V1

  • Trucks with trailer support.

  • Pathfinding on waypoints. Method to find the shortest path between 2 waypoints using the existing waypoints inside the scene.

  • The ability for traffic vehicles to follow a given path. Method to make any vehicle form anywhere in the scene to reach a specific destination.

  • Player component. A script that makes traffic vehicles give priority to the player in an intersection. Additionally, it provides the capability for traffic vehicles to overtake the player's car.

  • Zipper style give-way. Useful when a multi-lane road converges or narrows. Vehicles take turns advancing into the narrowed road alternately.

  • The Complex Give Way feature allows developers to designate specific waypoints that must be clear for a vehicle to enter an intersection. This capability is particularly useful for scenarios where there's a larger priority road intersected by a smaller side road. By utilizing Complex Give Way, developers can establish this setup without creating a traditional intersection.

  • Priority waypoints. Ability to set the importance of the roads. Useful to spawn more vehicles on the main roads and fewer on secondary roads.

  • Traffic vehicles will clear the way for ambulances or other special cars if specified.

  • Dynamic trigger size. The size of the front trigger increases with speed. This assures smoother car stops when an obstacle is detected at high speeds. Also, there is the possibility to set the minimum trigger size.

  • Switch the direction of the entire entire waypoint network with a single click. Used for right-hand and left-hand traffic scenarios.

  • Custom events on waypoints. Those events are triggered when a vehicle reaches a specially marked waypoint. Useful for dynamic actions inside the app.

  • Capability to programmatically make a traffic vehicle to change lanes.

  • Ability to override the vehicle behavior from the API.

  • Vehicle initialization will instantiate at least 1 vehicle for each type regardless of the percentages selected for other vehicles.

  • Capability to have vehicles inside the vehicle pool that will not be instantiated by the system. They need to be programmatically instantiated at the right time.

  • Initial density can be smaller than the maximum number of vehicles.

  • Ability to set green time duration per road for traffic light intersections. This gives the ability to set longer green times for important roads and shorter for secondary roads.

  • Some conditions can be added before initializing the plugins: like number of active vehicles, disable some waypoints, traffic light functionality, etc.

  • Ability to subscribe to various events for a better overview of what happens inside the system and better customization opportunities.

  • Added delegates for some actions to easily change the default behaviors used by the system.

  • Vehicles will consider the other vehicle's speed when giving priority at give way.

  • Improved vehicle suspension and more realistic collisions.

  • Fixed a lot of situations where traffic vehicles crash into each other.

  • Fixed issues with intersections.

  • Fixed overtake issues.

  • Improved the Driving AI.

  • The entire code was refactored for a clear overview of the entire system.

  • All the previously existing V1 functionalities are available also in V2.

Last updated