We are in submission with Unity, fingers crossed in another week or so we will be live on the Unity Asset Store to start getting your feedback!
Also forgot to mention… we decided to make it half the original retail price. It is going to be $25 as we want as many people using it so we can expand on the existing system to make it the best Traffic System for the price in the Unity Store!
Looking forward to it.
Couple thing i want to ask,
I see some cars either collide with each other or look like they do, can/will this be fixed if it is an issue?
Can you set how far back the cars will stay from each other?
Once the network of roads is placed can you edit them afterwards?
If would be a good idea to look over this video as it explains what the components of the vehicles are (if you haven’t already that is :)). Yes, cars can collide with each other if the system doesn’t detect another car in the detection Ray and Capsule (this is depending on how you set it for each vehicle of course). If the vehicles do collide with each other you will just the appropriate one stop until the other moves out of the way so the stopped vehicle can move again … you won’t see a massive crash happen, but I’m sure we can add that feature
Again, the video is helpful to see the options you have for the vehicles. Each vehicles detection is set via the distance from their center and a radius … this is for sphere detection of the vehicle in front. There is also a capsule and ray cast just after the lights turn green to determine if they “really” can move forward or not. Just because the lights are green doesn’t mean it is safe to move through the intersection. There is also a second sphere detection option you can enable to put at the back or middle of your vehicle if you choose to but currently it looks like this is overkill, but the option is there none-the-less.
Absolutely! You can do everything and anything to them using the editor tools created or even link and manipulate them manually if you wanted too. This system is designed to be very easy and simple to create massive road networks. It would be bad if you created New York City and found that you couldn’t edit it after many hours of work!
It is important to note that if you have ANY problems with the system or need to know more info on how to do something, we are here to help!
This is something I would pay for. I presume it can work without the road generator. I don’t need the roads, just the AI part.
Each road piece contains the visual road model, so sure, you would just need to turn off the road gameobject in each road piece prefab and it would turn them all off for the entire road network therefore allowing you to just use the AI. The editor debug pathing info would still remain as this is just editor helper visuals so I assume you would still want that, don’t worry all the editor helper visuals go away when you are in play mode in the game window
Will this work with EasyRoads3D v3?
EasyRoads3D is awesome for generating beautiful looking roads but (correct me if I’m wrong) it doesn’t give you the pathing or AI functionality. Road & Traffic System allows you to use the base road textures or create your own custom road pieces by adding additional road models (doesn’t just have to be a texture change, you can add whatever models you like to the road piece prefabs!) AND it has the pathing and AI functionality all built-in.
This pathing and AI functionality can be placed over the top of your EasyRoads3D roads but it would require some manual placement of pathing nodes that the AI uses as the editor only snaps together the Road & Traffic road pieces. It is definitely doable but the ideal way would be for us to add this to our editor tool set so you don’t have to add the nodes yourself to EasyRoads3D.
Sounds like I’m hearing a feature request … A way of us adding this too our editor tool set would be to give you the functionality to just generate certain node types (left lane nodes, right lane nodes) and certain node group types (say an intersection or a T intersection which is a group of nodes so you don’t have to place them all down yourself) and then give you the current functionality to link them altogether to create the correct pathing you desire on top of EasyRoad3D.
If I’m not mistaken, EasyRoads v3 is in beta right now, with a lot of new features. If you think there is a way to closely integrate the Road & Traffic System with EasyRoads, this may be the perfect time to look into it.
Yes, we will look into what can be done to make it easy for our users to work with our pathing and AI in EasyRoads3D for the upcoming drop of features with the Road & Traffic System.
Just letting everyone know that the Road & Traffic System just released on the Asset Store!
Check it out HERE
I’m currently looking to implement a traffic system for my project and found your Plug-in.
I’m curious if it’s possible to create your traffic during run time? Our game has a road creation system similar to that of Sim City where you can create and destroy streets at any time. Would this be possible with your system, or is it mostly intended for creation within the Editor?
Edit -
Picked it up. It doesn’t seem too bad to work into my current road system. I did strip the code down heavily though as most of it was Editor placement stuff which seemed pretty unnecessary for my purposes. But the spawning, car movements and street lights have saved me quite a bit of time and work quite nicely.
Any future plans for other sorts of traffic intersections? Mostly things with the light/intersection setup would be kind of cool - turning lights, 4 way stops, or possibly intersections that adjust their green/red light times based on traffic flow (to avoid build up in one direction while no cars are moving in another).
This looks like a fantastic system, great work wireddev!
I am curious whether this system can work for more organic road systems as well. In the example videos I see that the pieces are clicked together in a very grid like pattern, is it possible to for example make smooth turns instead of 90 degree turns, or “S” turns as well? Is it also possible to adjust the elevation, if for example I would like to make a road over a terrain hill or mountain, could this be done?
I didn’t find the system overly hill friendly when I was working with it (the vehicle rotations were a bit annoying) but after quite a bit of tweaking I finally got it working.
We actually posted a video of our traffic system going earlier today:
I had to take out a large portion of this system, but it’s fundamentally the same (besides the vehicle movement). I removed highway stuff too, since our roads are quite simple. Most of the rewrite came from the road piece figuring out how to connect properly to the pieces around them.
It’s a node based system, so complicated turns are quite easy to do, you just place the nodes in the shapes you want and connect them to each other.
In the video, the intersections are a bit complex (near the end of it), the Green line is the choice to go straight, the blue lines are left turns and the red lines are right.
I am planning to use EasyRoads3D for the actual road visuals, so I am wondering whether this system could work alongside it, or rather on top of it. See the images below. If I have a road already made (the grey areas below) is it possible to position the nodes of the traffic system based on the surface of the road? For example in the first road there is a hill the road goes over, could the individual nodes be positioned vertically to match this surface? In the second example the road has smooth curves, not only 90 degree turns, is it possible to move the nodes to match turns such as this?
Is Wired Development still in business? I tried calling the number on their website it appears disconnected, they don’t have an email address to send support queries to, instead they have a comment/inquiry box for quoting for work that you send requests through but doesn’t give you a receipt of transaction. Not sure where to go for help, I may have foolishly rushed my purchase as I’m now not certain if there is support. I have some questions.
Anyone from Wired Developments care to comment? Thank you…
hi it’s possible to make prefab with him for make procedural mapping please ?
Have you sent them a PM? Typically the forum fails to notify thread owners of a new post. If they’re busy on a project they may not have noticed you tried to ping them on the forum.
Sorry for not getting back …! We have just added another option in an update that just went live. The traffic lights all have timing for GREEN, YELLOW and RED that you can set but a script for that based on traffic might not be very hard either. Will see what is possible. Here is the screenshot of the update on the asset store.