{"id":28042267,"url":"https://github.com/elrod/unity-splineroadutils","last_synced_at":"2026-04-25T12:35:23.176Z","repository":{"id":292050368,"uuid":"979643942","full_name":"elrod/Unity-SplineRoadUtils","owner":"elrod","description":"A set of spline tools to build a simple road network in unity","archived":false,"fork":false,"pushed_at":"2025-05-07T22:07:56.000Z","size":5613,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T22:33:17.941Z","etag":null,"topics":["game-development","splinetool","unity","unity-package"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elrod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-07T20:55:47.000Z","updated_at":"2025-05-07T22:10:39.000Z","dependencies_parsed_at":"2025-05-07T22:43:30.851Z","dependency_job_id":null,"html_url":"https://github.com/elrod/Unity-SplineRoadUtils","commit_stats":null,"previous_names":["elrod/unity-splineroadutils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrod%2FUnity-SplineRoadUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrod%2FUnity-SplineRoadUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrod%2FUnity-SplineRoadUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elrod%2FUnity-SplineRoadUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elrod","download_url":"https://codeload.github.com/elrod/Unity-SplineRoadUtils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253578356,"owners_count":21930536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-development","splinetool","unity","unity-package"],"created_at":"2025-05-11T14:25:10.105Z","updated_at":"2026-04-25T12:35:23.133Z","avatar_url":"https://github.com/elrod.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spline Road Utils\n\n![Spline Road Utils](Documentation~/img/cover.png)\n\nThis package contains a set of utilities to generate a road network starting from Unity Splines and connect them through junctions.\n\nIt is basically an implementation of [this tool](https://www.youtube.com/watch?v=ZiHH_BvjoGk\u0026list=LL\u0026ab_channel=GameDevGuide) with some additional features I needed for my projects.\n\n## Original Features\n\n- Multi spline road mesh generation\n- Junction mesh generation\n- Dynamic UV-Mapping\n\n## Additional Features\n\n- Selective junction removal - To remove a single junction or all junctions from a road network\n- Overridable resolution for each road segment - to specify a different mesh density for a specific road segment\n- Overridable width for each road segment - to reduce and increase the size of a specific road segment\n- Spline alignment along a specific asset - to ensure that all spline knots are properly facing a specific direction\n- Terrain to spline mesh conformation - to ensure a terrain adapts to accomodate the road without overlapping\n\n## Requirements\n\n- Unity 6000.0+\n\n**Note** it may work on previous unity versions too. I simply did not test them yet\n\n## Installation\n\n- Open Unity\n- Click on **Windows** -\u003e **Package Manager**\n- Click on **+** -\u003e **Install package from git URL**\n- Paste this repo URL\n- Click on **Install**\n\n![Tool installation](Documentation~/gifs/tool_installation.gif)\n\n### Optional\n\n- Install Samples from the Sample tab of the package\n\nSamples contain a Demo Scene and a prefab of the RoadNetworkBuilder that you may want to use as a starting point to build your own road network\n\n## Usage\n\n### Quick Start\n\n- Drag the `RoadNetworkBuilder` prefab into your scene and reset its position\n- Activate the spline tool and draw a spline normally do generate the road\n- Create multiple roads by clicking the Create Spline button in the scene toolbar\n- Adjust a single road segment resolution and width by tweaking the Road Resolution and Road width parameters in the Road Settings overlay with a spline selected\n\n![Usage quickstart](Documentation~/gifs/tool_quickstart.gif)\n\n### Creating and deleting a junction\n\n- Ctrl or Cmd + Click to select all the nodes from the spline you wish to connect\n- Click the `Build Junction` button to create a junction\n- Adjust all edges curvature by tweaking the curve sliders with a junction selected\n- To remove a junction just click the `Remove Intersection` button with one of the knots belonging to the instersection selected\n- Use the `Clear All Junctions` button to clear all the intersections in the current road network.\n\n![Usage junctions](Documentation~/gifs/tool_junctions.gif)\n\n### Conform terrains to the road network\n\nThis feature allow to conform the terrain below the road network so that it does not overlap with it.\n\n- Ctrl or Cmd + Click the road network and the terrain game objects to select them simoultaneously \n- On the `Conform Terrain To Road` overlay set a desired Y-offset for the terrain and an edge falloff smoothness value\n- Click conform to terrain to modify the terrain\n\n![Usage terrain conformation](Documentation~/gifs/tool_terrainconformation.gif)\n\n### Align road system with an axis\n\nIf you wish you can force all splines knots to align with an axis to correct unwanted rotations\n\n- Select the road network game object\n- Select an aligment axis (tipically you want to align roads on the Y axis)\n- Click on `Bulk Align Spline Knots`\n\n![Usage axis alignment](Documentation~/gifs/tool_axisalignment.gif)\n\n**NOTE**: you may want to conform terrain with the roads again after changing the road aligment","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felrod%2Funity-splineroadutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felrod%2Funity-splineroadutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felrod%2Funity-splineroadutils/lists"}