road

A road: a smooth spline through control points, of a road TYPE (lanes, shoulders, curbs, sidewalks, markings, lamps and signs). Every road in the scene is one network: intersections, bridges, cut-and-fill on the land and the lane graph that traffic drives are built from these automatically (build_road / rebuild_roads).

In scene text

road { profile "…"  points [1, 2]  lanes 1 }

Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.

Fields 19

FieldTypeUnit / rangeWhat it does
profiletext—.
pointslist of numbersmControl points x, y, z (world), three numbers per point: (x1, y1, z1, x2, y2, z2, ...).
lanesnumber0 … 8Lanes each way (one-way: in total); 0 = the type's own.
lane_widthnumberm, 0 … 12Lane width; 0 = the type's own.
speed_limitnumberkm/h, 0 … 400Traffic speed; 0 = the type's own.
one_waytrue / false—Every lane runs the way the points run.
follow_groundtrue / false—Heights from the land (smoothed to a drivable grade); off: the points' own heights (ramps, flyovers).
bridgetext—auto (over water and deep valleys), never (embankment) or always (deck on piers).
closedtrue / false—The last point joins the first (race tracks, ring roads).
markingstrue / false—Lane lines, edge lines, crosswalks and stop lines.
propstrue / false—Street lamps, signs and guard rails by the type's rules.
controltext—Its intersections: auto, signals, stop, yield or none.
surfacetext—Pavement material; empty = the type's own.
banknumberdeg, -1 … 30Banking into curves; 0 flat, -1 automatic for its speed.
rootsnumber0 … 10Trails: roots crossing it per 10 m.
pebblesnumber0 … 3Trails: pebbles along it, 0 none ... 1 a few per metre.
bulbsnumberm, 0 … 200Kerb bulb-outs every this many metres along its parking lanes (0 none): a raised kerbed planter one parking stall long where street dressing puts its trees (clear of the buildings' balconies) and parks no car.
pier_freelist of numbersmBridge spans with no piers, as pairs of distances along the road (from, to): a main span hung from its pylons.
absolutelist of numbersmSpans whose deck follows the control points' own heights (world metres) instead of the land, as pairs of distances along the road (from, to): a main span between pylons on cliffs. Points outside the spans keep their lifts.
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us
Download Arcwright free