traffic_signal
A lane stop line, facing the direction cars travel (+Z). Phase is scene/game data, never wall-clock time.
In scene text
traffic_signal { phase "…" lane_width 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 2
| Field | Type | Unit / range | What it does |
|---|---|---|---|
phase | text | — | red, amber or green. |
lane_width | number | m, 1 … 20 | Width of lanes controlled by this signal. |
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us