Vehicle placement on CityEngine-generated streets.

4741
22
Jump to solution
08-07-2012 06:24 AM
JoshWade
New Contributor II
Hello again 🙂

I am beginning to create driving scenarios for a driving simulator. (For example, on a highway you are traveling at 70mph when suddenly the vehicle in front of you applies the brakes hard). I see that CE uses some mechanism for placing the cars on the roads neatly between the lines (Even on curved roads).

I am hoping that I can use your algorithm for my AI-driven cars. I assume it has something to do with the street network edges as well as the particular attributes of the street?

Any help would be wonderful!

-Josh
Tags (2)
0 Kudos
22 Replies
JoshWade
New Contributor II
No worries 🙂 I will take a look as well to see if I can find it.
0 Kudos
MatthiasBuehler1
Frequent Contributor
got it. as assumed.

was a missing
i += 1


here's the new file !
JoshWade
New Contributor II
Thank you very much! This has been extremely helpful.