Guides
Railing recipes
Build stair railings, join two railings at one post, leave openings for gates, snap to ground, follow curves and lay long runs with the railing tool.
These recipes use the Railing tool variables.
Stair railing#
Put the railing just outside the flight, not on the treads. A straight run between two posts cannot follow each nosing, so a railing standing on the steps clips the tread edges.
- Draw two points: the first on the landing (top), the second on the ground just past the foot of the flight, 30–40 cm beside the stair's side edge.
- Set
LanternEveryNSpansto 0.
The demo stairs are built this way: their treads are 241 cm wide and the railings run at the stair centre ± 140 cm.
Joining two railings at one post#
Use this for a stair meeting a quay railing, a corner between two actors, or a gate post.
- End the first railing where the shared post should stand.
- Start the second railing's first point exactly on that post's centre, with
bStartPostoff, so the post is not doubled. - Turn
bSnapToGroundoff on the second railing and give its points their real heights. Its downward trace would otherwise land on top of the shared post.
Every stair head in the demo maps is joined this way.
Openings and gates#
The tool builds one continuous railing per actor. For a gap, end one actor and start the next on the far side of the opening. Both ends keep their posts. Leave the gap empty or place your own gate between the two posts.
Ground snap#
bSnapToGround stands every post on whatever is below it, so a railing drawn over uneven ground follows the terrain with rails pitched to each span. It ignores the railing itself but not other actors.
Curves#
Add spline points. Tighter curves need a shorter PostSpacing so rails stay close to the curve.
Long runs#
Keep each actor to about 30 m (12 spans) and chain several, turning off bStartPost on each following actor so the shared post is not doubled.
Each actor draws its pieces as instanced components. Once one grows past about 40 m across, Map Check warns that such a large movable primitive receives pre-shadows (a real shadow-cost warning), and each actor lights at most 16 paper lanterns.
The demo maps are built this way: 160 m of railing per bank in 12-span actors.