Simple Traffic by Kink3d - 4

Games & Projects

A simple traffic simulation using Unity's Nav Mesh Components.

Unity 2017.2.0f3MIT LicenseUpdated 55 days agoCreated on November 27th, 2017
Go to source

SimpleTraffic

alt text

A simple traffic simulation using Nav Mesh. Constrains NavMeshAgents within lanes between custom navigation sections. All traffic moves continuously between randomly selected destinations.

Requires Unity 2017.2+.

Road Vehicle Traffic:

  • Modular road section based randomized navigation
  • Junction logic
  • Obstactle logic

Pedestrian Traffic:

  • Point to point based randomized navigation
  • Junction crossing logic

Train Traffic:

  • Continuous navigation
  • Junction crossing logic

Junctions:

  • Crossroad
  • T Junction
  • Train Crossing
  • Pedestrian crossing

Debug

  • Junction logic gizmos
  • Vehicle traffic destination gizmos

Contains:

  • Simple traffic navigation logic
  • Nav Mesh Components
  • Demo scene

Credit:

Show all projects by Kink3d