Search Unity

Assets New 2D Traffic and Road Creation System

Discussion in 'Works In Progress - Archive' started by chubbspet, May 31, 2019.

  1. chubbspet

    chubbspet

    Joined:
    Feb 18, 2010
    Posts:
    1,220
    Hi there

    I am in the process of writing a 2D Traffic AI and Road creation system. Below is a list of the features that are already working and/or in development:

    Tile-based road placement
    - Placing tiles on a chess-board style grid system in the editor
    - Easy snapping and rotating of road sections
    - Snap onto Adjacent roads with auto-rotate by choosing the sides you want to join
    Auto path link system
    - No need to drag paths prefabs into public variables! There is an editor script with a clever algorithm that does this all for you with one button click.
    Auto avoid cars
    - When two AI vehicles are stuck in a loop, facing each other, a co-routine starts and they drive around each other, avoiding traffic jams and improving the vehicle behaviour.
    Quick traffic light system
    - Select a road section (e.g. 4-way cross) and click on the "add traffic light" button to automatically add traffic lights to that road section
    Easy asset integration
    - The system is being developed so that current asset can easily be integrated.
    - Asset creators can create extension packs for buildings, vehicles, characters and other props
    Performance options
    - Editor Script based combine mesh feature
    - WebGL and Mobile tested and compatible
    Demo game
    - A full blown demo game that can be used to test the system. There are many assets that does not have games that can be played to test them.

    Please feel free to make requests, since I am busy developing!
     
  2. chubbspet

    chubbspet

    Joined:
    Feb 18, 2010
    Posts:
    1,220
    New features added:

    Layered roads for bridges

    - Roads can be marked as a bridge
    - Any vehicle detecting a bridge will adapt it's height dynamically to go over or under the bridge


    Traffic AI and Bridge system working now.
     
    Last edited: Jun 7, 2019
  3. Karliam

    Karliam

    Joined:
    Dec 10, 2018
    Posts:
    1
    Any update on this?