Road System View on Asset Store (opens in new tab)

Package details

Latest version
2.2.1
Last updated
First released
Unity version
2020.2.1 or later
Package size
49.7 MB
Files
110
Favorites
879
Views in the past week
257

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Road System

by Maxi Barmetler (opens in new tab)

4.8 / 5 · 43 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 39
4 stars 1
3 stars 1
2 stars 2
1 star 0

Create and shape curvy roads, connect them to intersections, and calculate the shortest Path to the goal! Useful for minimaps, or vehicle AI.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Road System, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 8

Road System screenshot 1

Road System screenshot 1

About this asset

This package allows you to create custom roads in any modelling software, and tile them along a custom bezier curve. The curves are easy to manipulate, and can be connected to intersections. This package includes tools for moving and rotating points along the road, as well as a freestyle spline tool that you might know from image manipulation programs.

Once you're done with your roads, you have a graph with correct edge weights which can then be used to plot the shortest path from any point to any other point. This path can be displayed on a minimap, or used in any other way you can come up with.

The package includes premade roads and intersections, but you can make your own, as described in the documentation.

~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~ MIGRATION TO VERSION 2 ~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~

  1. MAKE A BACK-UP OF YOUR PROJECT TO BE SAFE
  2. Delete the entire folder in `Assets/Barmetler`.
    1. This will temporarily result in invalid references in your project, which is fine for now.
  3. Update and import the new Asset, which will now reside in the `Packages` folder.
  4. If you have not used any pre-made roads, materials, prefabs, etc, you are done here. If you have, continue with step 5.
  5. Open the package manager under Window>Package Manager.
  6. From the drop-down in the top left, where it says "Unity Registry" or "My Assets", etc. select "In Project".
  7. "Road System" should show up there, click on it
  8. Navigate to the "Samples" tab and import the sample that is there. It contains the Textures, Materials, Meshes, and Prefabs that were previously in the "Demo" folder, as that is how UPM packages work. These samples maintain the same GUIDs as previously, meaning that instantiated prefabs in your scene will be fine again.

Advantages: UPM packages have a standardized format and are better suited to tools. They can also reside outside your project, if you want. Their dependencies to other packages from the Unity Registry are automatically installed.

Explanation: Unity Assets refer to other Assets by their GUID. The GUID of an asset is specified in its corresponding `*.meta` file.

For a seamless migration, the GUIDs of the scripts, prefabs, materials, etc that now reside in `Packages` maintain the same GUIDs of the ones in the `Assets` folder.

However, two assets with the same GUID can not exist, which Unity "solves" by simply generating new GUIDs, keeping the link between your existing assets. This will break the link between your assets and the ones in the `Packages` folder.

Therefore, it is very important that you DELETE the assets in the `Assets` folder before re-importing the new version, the GUIDs will stay the same. This was the easiest way to facilitate the migration.

As long as no GUIDs change, the migration should have no side effects.

As stated before, MAKE A BACK-UP OF YOUR PROJECT TO BE SAFE.

From the publisher's Asset Store listing.

Technical details

Features

  • Create and shape roads easily
  • Use and model of your liking for the roads
  • Pathfinding using A*
  • Smooth line generation
  • API is easy to understand and use

Documentation

https://www.barmetler.com/projects/road-system

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2020.2.1f1 Compatible Compatible Compatible Compatible

As this package is not a collection of models and textures, but a tool, SRP compatibility is irrelevant. You are intended to use your own models, however, the package comes with some samples that use the Built-in Render Pipeline.

As listed on the Asset Store.