Self intersecting roads are not build #35

Closed
chdudek opened this Issue Dec 25, 2016 · 1 comment

Projects

None yet

2 participants

@chdudek
Contributor
chdudek commented Dec 25, 2016

If you build a road, which intersects with itself, it will not get build properly, but the 'blueprints' are still there. If another road blueprint intersects original road segment, the loop will show up, but with missing lanes (see screenshots).
citybound_selfintersection1
citybound_selfintersection2
citybound_selfintersection3
citybound_selfintersection4
citybound_selfintersection5

@aeickhoff
Member

I already had a last-minute solution for this, you can uncomment it here:

https://github.com/citybound/citybound/blob/795445e/src/game/lanes_and_cars/planning/plan_result_steps.rs#L69

But it caused a severe performance regression, that's why I removed it for the launch.
I'll look into it again!

@aeickhoff aeickhoff self-assigned this Dec 25, 2016
@aeickhoff aeickhoff closed this in 18130c0 Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment