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
| Field | Type | Unit / range | What it does |
|---|---|---|---|
profile | text | — | . |
points | list of numbers | m | Control points x, y, z (world), three numbers per point: (x1, y1, z1, x2, y2, z2, ...). |
lanes | number | 0 … 8 | Lanes each way (one-way: in total); 0 = the type's own. |
lane_width | number | m, 0 … 12 | Lane width; 0 = the type's own. |
speed_limit | number | km/h, 0 … 400 | Traffic speed; 0 = the type's own. |
one_way | true / false | — | Every lane runs the way the points run. |
follow_ground | true / false | — | Heights from the land (smoothed to a drivable grade); off: the points' own heights (ramps, flyovers). |
bridge | text | — | auto (over water and deep valleys), never (embankment) or always (deck on piers). |
closed | true / false | — | The last point joins the first (race tracks, ring roads). |
markings | true / false | — | Lane lines, edge lines, crosswalks and stop lines. |
props | true / false | — | Street lamps, signs and guard rails by the type's rules. |
control | text | — | Its intersections: auto, signals, stop, yield or none. |
surface | text | — | Pavement material; empty = the type's own. |
bank | number | deg, -1 … 30 | Banking into curves; 0 flat, -1 automatic for its speed. |
roots | number | 0 … 10 | Trails: roots crossing it per 10 m. |
pebbles | number | 0 … 3 | Trails: pebbles along it, 0 none ... 1 a few per metre. |
bulbs | number | m, 0 … 200 | Kerb 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_free | list of numbers | m | Bridge spans with no piers, as pairs of distances along the road (from, to): a main span hung from its pylons. |
absolute | list of numbers | m | Spans 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