Hi, I’m new with car maker and I would like to parametrize lane of a road depending on the width of the car used? I need the road to be wide as the car + 1 meter, but I don’t want to do it every time manually for every vehicle. Is it possible?
Thanks.
Honza
Good afternoon,
Yes, it is possible.
First of all I created a straight road segment and parametrised it
I then generated the scriptcontrol file to input here
Vehicle.OuterSkin gets this
it is then multiplied by 2 (to get the full vehicle width) and I added 1m as requested by you.
The variable lanewidth is then assigned to Road_width parameter in the scenario editor and logged in the session log