Page 1 of 1

Specify turning lanes?

Posted: Tue Jun 10, 2014 6:28 am
by duke
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.

Re: Specify turning lanes?

Posted: Tue Jun 10, 2014 1:01 pm
by anvar
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 https://docs.icube3d.com/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

Re: Specify turning lanes?

Posted: Wed Jun 11, 2014 5:26 am
by duke
That works perfectly. Thanks Anvar!