Open aditya-murda opened 2 years ago
Actually it's not that easy to detect such case (wide roads/medians). There are multiple issues with median detection and any kind of gap between lanes. Once we fix/improve median detection it will be trivial to add a feature like this but for now it's impossible because of issues I mentioned.
Describe your idea
It is not uncommon for articulated vehicles such as semi-trucks or trucks with trailers to do U-turns on roads with sufficiently wide medians. However, I'm observing that articulated vehicles in-game are very unlikely to perform U-turns and instead take longer routes. This would be advantageous on roads with a sufficiently wide median like this or vanilla 4-lane 32-meter road
I'd suggest that during pathfinding for an articulated vehicle, U-turn paths are also considered on roads with a sufficiently wide medians. This may be inferred from road width and lane count, but there's may be a better way
Screenshots?
Notes or questions?