-
-
Notifications
You must be signed in to change notification settings - Fork 42
Using prefab intersections
Use this page to quickly understand how to use the intersection prefabs provided with the addon
Coming soon.
- Make sure you have a RoadManager already in your scene
- Go to the Roads menu with the RoadManager selected, and go into the dropdown for presets
- Pick one of the prefab intersections (want to make your own? We've got a guide for that)
- This will place it at the origin of the RoadManager, where you can then move it around as desired
- Select any existing road node (RoadContainer, RoadPoint, RoadManager) and then go into the Roads menu in the 3d View
- Go into the preset and pick the one you want to place
- With this container added to the scene, drag it around until the side of the intersection you want to connect to your existing road overlaps or is close to the given RoadPoint - you should see a blue line appear
- Release, and it should snap into place
Currently when you move a RoadContainer which has connections to other RoadContainers, whether prefab or defined in the same editing scene, it will sever all current connections (visualized via a red line).
In the future, the hope is to move adjacent dynamic RoadPoints along, but for now follow the steps below to repair your original connections:
- Move your RoadContainer, noting which RoadPoints get severed [pic of this severing]
- For each RoadPoint that was previously connected, you probably want to delete that RoadPoint and then select the next one in its chain
- With the sibling RoadPoint selected, switch to the connection tool and hover over the side of the RoadContainer previously connected
- Click, and a new RoadPoint will be added and automatically connected in the appropriate place
- Repeat for each connection that got severed
You may find the tool not letting you connect back to the RoadContainer in some cases, due to outdated data. Try refreshing, reloading the project, and there after resetting the first 3 rows of export variables under the internal data section of the target intersection container.
In the future, automatic snapping of RoadPoints will make this easier.