Does anybody know how can i see all the roads an AI cand drive on? And how can i make the AI go offroad or take other turns, ignore one way roads.(For exaple on the Utah map there are always some turns that the AI seems to prefer like always when it enters the highway it turns right but never left and other turns like these, and never goes offroad. What can i do?
You might already know this, but the AI path is determined by the Pathfinding settings in a Decal Road. (Inspector Window) By default, Decal Roads are set with a drivability of -1 (No AI). To make the Decal Road an AI path, set its value to a positive number between 0.1 and 1. You can easily see which Decal Roads use AI in World Editor by selecting the Decal Road Editor and, near the top on the left, ticking "AI Roads Selectable" and unticking "non-AI roads selectable". Now, when you hover over a decal road, it will only highlight if it is an AI road. You can also make the road one-way or change the number of left or right lanes by using the other settings in Pathfinding. The AI algorithm the cars use tends to favour some routes over others (AI tends to avoid roads that are short and have dead ends, which will hardly ever be used). --- Post updated --- This is what I mean:
In world editor go to view, visualization settings and check debug navigraph road drivability. Could be named a bit different but you will find it.