**Replaced by [2.3.1][Now open-sourced] Road Creator Pro **
Thanks for making it free and open source!
Want everyone to be able to use it! Let me know what you think of it
Any feedback?
I downloaded the Road Creator and followed your instructions but when I try to create a road, nothing happens. There is no Road creator GUI.
You need to create a road system: Create GameObject > 3D Object > Road System and when that’s selected the object creation gui will show up.
1.0.2 has now been released. Clicking on roadsegment’s, intersection’s etc help book icon now takes you to their wiki page.
And at this very second I’m importing it to use for my personal game. Might let you know it goes ![]()
Edit:
So far having fun with it but I’m stuck with two things.
- I never managed to touch the Y Offset and Smoothness Amount fields. My editor seems to lose focus. Also when editing anything it’s like I’m forced not to Alt+Tab for example.
Using 2018.3.1f1 fresh project - Unsure how to finish the “circuit”
Glad to hear that you’ve downloaded my project! But it’s unfortunate that you have found problems with it.
- The editor doesn’t loose focus for me so this is one of these super anoying things that I can’t reproduce and therefore have no way to fix. I guess you have tried reopening the project and selecting another object in the scene before selecting the road again?
I would recommend having the smoothness amount as zero as it’s kinda hacky. Modify the control point to get the smoothest possible curves!
2. You have 2 options. Either you could overlap them a little bit so that they look connected but arn’t or you could do it the proper way and have two roads and create intersections between them (move a start/end point from both roads to the same point to create an intersection. You can then hold s while moving the intersection points so it’s so small that it isn’t noticable. This way you’ll have a complete circuit. Generate intersections must be enabled for both roads tho.
Hi!
Yes, I’ve tried selecting another gameobject and then the road system again. I understand that this is some kind of specific problem. Neither do I know why this happens and it’s frustrating I can’t even “touch” the variables.
Also thanks for the second info, will give it a try.
And out of curiosity it says to start with LWRP but this is kinda inconvenient for most of the/my cases. Look I don’t need an ultra HD version but just for the normal projects would be better I think.
The roads need a specific shader to stretch correctly so I needed to create a shader graph for it. So it’s possible to have it for the standard rendering pipeline but you’ll have to write a custom shader. Also Unity has said that LWRP and HRP is the way forward and that the SRP will be deprecated soon. So it’s more of a general Unity thing than this specific package, everyone will have to move over soon… I don’t like it being split into two as some features like decals only are avaliable for HRP and not for the rest of the community but we’ll just have to accept it… ![]()
![]()
As for the inspector, the more information I get the higher are the chances that I can solve it. Does it only happen for roads. Do global settings work? Road segments? Prefab lines? Intersections?
EDIT: I’ve heard that LWRP shaders work quite well for HRP so if that’s want you want then you can probably switch without problems.
SRP deprecated?
Not on my watch
#whyunity
I totally agree you don’t have to make two separate packages. Actually I switched to my traditional road editor for now but just for you I tested it again. Global settings work fine and editing the road too (placing the road, barriers and all that sort of stuff).
The variables in the inspector of “Prefab Line” and “Road” inside “Road System” cannot be changed. When I click on it, it refuses to focus or basically won’t let me enter another number. Like the smoothness amount for example.
Hopefully you can understand what I mean.
Also, don’t worry I leave this road creator behind ;). I may use it in the future when LWRP is the going ham.
For now I wish you the best of luck
Edit: I’ve had trouble setting up the bridge. I assume the Y Offset First Step and Y Offset Second Step should change height but I still get a road glued on the terrain itself
To not make the road glued. Set the terrain option of the segment to ignore then you change the point with + and - when selected. I’ll do my best to try to fix the problem. I hope I can fix it for you!
1.0.3 has been released!:
- Fixed focus problems preventing searching when selecting objects and variables to be editable in the inspector (let me know if it works @Justice0Juic3 )
- Object creation gui is now showed when a global settings or road segment object is selected
1.0.4 has been uploaded, fixing some bugs:
- Replaced extra meshes width option with start width and end width for increased customizability
- Fixed roads treating height incorrectly causing them to sometime hang like a hanging bridge.
- Fixed extra meshes and bridges starting at the wrong position when that segment’s start width is different than the last segments end width
Features, tweak and loads of bug fixes. 1.1.0 has it all!:
-
Added extra meshes for intersections
-
Added creation gui button to create traffic lights
-
Holding CTRL when moving points up and down now snaps their position to whole values (also useful to move them faster)
-
Traffic light now show the creation gui when selected
-
Made pillar placement for bridges more exact
-
Changed uv system for bridges to stretch the texture similar to roads or intersections depending on if it’s a road or intersection
-
Bridge pillars now have a rotation direction option
-
Multiple traffic lights can now be modified at the same time
-
Roads bridges now generate caps
-
Fixed prefab lines hanging when both points are in air
-
Fixed first prefab in prefab lines sometimes being bent in the wrong direction ( @Justice0Juic3 this should make your road system look a bit better
) -
Fixed an error when the first road segment has a bridge
-
Fixed prefabs in prefab lines being placed to near eachover in slopes
-
Fixed being able to have multiple global settings object
-
Fixed road/prefab lines/road segments and intersection printing error when there is no global settings object
-
Fixed points not being dropped when going out of scene view
-
Fixed points not being dropped when holding shift
-
Fixed prefab lines direction not being left by default
-
Fixed intersection materials having no texture
-
Fixed not being able to change intersection bridge material
-
Fixed intersection bridges not generating cap on last connection
-
Fixed prefab lines fill gap being able to be used when rotate alongst curve is false causing strange results
-
Other small bugs fixes and tweaks
Would anyone mind if I removed the smoothness amount option for roads? It always gives pretty bad results so it’s better to simply use another shorter segment. Please let me know! If noone is against it, it will be removed in the next update.
1.1.1 is a smaller update:
- Multiple segments’ extra meshes can now be edited at the same time so you no longer have to edit one segment at a time
- Removed smoothness amount for roads
- Added reset curve points button to intersections
- Huge code cleanup which leads to minor performance improvements
- Other small tweaks and bug fixes
Hi there, looks promising!
1 very important question for me: Do you support intersections like highway ramps? This is a must for our game ![]()
Cheers!
Ofcource. Road system wouldn’t be road systems without intersections ;). https://github.com/MCrafterzz/roadcreator/wiki/Instructions. Move a end/start point so it’s at the same place as another start/end point and an intersection will be generated.
Yeah of course
But what I mean is that sometimes you need something different than a X cross or a T cross. Example:
![]()
Does the system works for such angles?
Last question : I understand that it’s only working for LWRP or HDRP?