Overview
A placement node that paints tiles along a Bezier curve drawn in the path
editor. Lay winding roads, rivers, and rails onto a map with familiar path editing.
Like rule_polyline, progress can grow the result from the start.
Usage tips
- The shortest route to a curved road is to draw it in
multi_path_editor→ rule_path →rule_renderwith the road material. Editing the path updates the road. - Increase
sampleswhen bends appear jagged. - For straight segments and polylines,
rule_polylineis lighter.
Related nodes
rule_polyline— the point-sequence counterpartmulti_path_editor/bezier_path— supply the pathrule_animation_render— animates growthrule_operation_merge— combines with hand painting
What this node does
Converts a Path drawn in a path editor such as MultiPathEditor into a cell-based
line operation. Path coordinates in pixels are divided by the cell dimensions to
map them onto the grid. progress (0–1, promotable) trims the line from its start.
This places roads, rivers, and pipes directly from a path asset.
Inputs, outputs, and settings
| Kind | ID | Type | Description |
|---|---|---|---|
| Input | path |
Path (required) | Source Bezier path; uses the first subpath. |
| Input | canvas |
RuleCanvas (optional) | Canvas to append to. Creates a new canvas when unconnected. |
| Output | canvas |
RuleCanvas | Canvas with the line operation added. |
| Setting | material_id |
Text | Terrain name to paint (default: road). |
| Setting | progress |
Float 0–1 (promotable) | Fraction to draw from the start. |
| Setting | samples |
Int | Number of path samples; increase for coarse curves. |
Example wiring
Multi Path Editor.path -> RulePath.path
RulePath.canvas + Road preset.asset -> RuleRender