Giter Club home page Giter Club logo

road-system's Introduction

David's Road System is tool for procedural road generation.

RoadGeneration.mp4

Road map:

  • Generate road mesh with bezier curve. (Added 1.0.0)
    • specify number of lanes
    • specify lines types (dashed, single, double)
    • specify extra road side width
    • specify green lane width
    • specify road lane extensions/narrowings
    • snap road to another road
    • lock road to another road
    • include asphalt material
  • Generate crossroad mesh tool
  • Parking generation
  • Pavements generation tool
    • fast pavement generation along road
    • generate curb between road and pavement
    • ability to deform shape of pavement with bezier curves
    • include pavement and curb mateiral
  • Automatic randomized placing decals on road
    • include some types of decals (man holes, asphalt breaks, etc...)
  • Generate street lamps along road
    • include few street lamps models
  • Vehicles driving logic
    • collision detection
    • working on burst & jobs
  • Traffic lights
  • Generate roundbound mesh tool
  • Pedestrain crossings
    • navmesh compatible
    • automatic placing pedestrian crossing sign
  • Speed limit signs

How to install:

  1. In Unity open Package Manager. Window -> Package Manager.
  2. Click the Plus button.
  3. Select "add package from git URL"
  4. https://github.com/AwixStudio/Road-System.git#main
  5. Add.

How to use:

  1. GameObject -> RoadSystem -> Road.
  2. Toggle gizmos ON.
  3. Now you should be able to move gizmos and regenerate mesh (it should be visible if you assigned materials).
  4. You can control lanes numbers, road sides etc... by RoadGenerator component assigned to object.
  5. You can access extra curve operations by right click on BezierCurveMB component.image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.