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
Create and shape curvy roads, connect them to intersections, and calculate the shortest Path to the goal! Useful for minimaps, or vehicle AI.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 8
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 ~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~
- MAKE A BACK-UP OF YOUR PROJECT TO BE SAFE
- Delete the entire folder in `Assets/Barmetler`.
- This will temporarily result in invalid references in your project, which is fine for now.
- Update and import the new Asset, which will now reside in the `Packages` folder.
- If you have not used any pre-made roads, materials, prefabs, etc, you are done here. If you have, continue with step 5.
- Open the package manager under Window>Package Manager.
- From the drop-down in the top left, where it says "Unity Registry" or "My Assets", etc. select "In Project".
- "Road System" should show up there, click on it
- 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
| 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.