Skip to content

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

License

Notifications You must be signed in to change notification settings

Kink3d/SimpleTraffic

Repository files navigation

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:

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published