Specify turning lanes?

duke
Posts: 36
Joined: Mon Oct 05, 2009 8:20 am

Specify turning lanes?

Postby duke » Tue Jun 10, 2014 6:28 am

Currently when roads intersect a crossroad, all lanes will turn all ways. Is it possible to enforce rules like only the left lane can turn left, right can turn right, etc.? See attached for existing vs. what i'm trying to do.
Attachments
CT_Request.jpg
CT_Request.jpg (147.37 KiB) Viewed 39265 times

anvar
Posts: 471
Joined: Sun Jul 11, 2010 12:34 pm

Re: Specify turning lanes?

Postby anvar » Tue Jun 10, 2014 1:01 pm

yes its possible
for this you need to create intersection manually (not automatic)
and each direction need to have its own spline
similar to how we set up in the manual where we have unrealistically complex roundabout http://docs.rendering.ru/en:citytraffic#step_3

ie lay the roads toward intersection and cut them there
then from each line you need to make a spline with the trajectory to those lines where you need to be able to turn or go straight
and each of these splines you need to make a separate one way road
where they overlap - cars will be able to change lines

duke
Posts: 36
Joined: Mon Oct 05, 2009 8:20 am

Re: Specify turning lanes?

Postby duke » Wed Jun 11, 2014 5:26 am

That works perfectly. Thanks Anvar!


Return to “CityTraffic”

Who is online

Users browsing this forum: No registered users and 1 guest