Track

Gradient and cant

How Track Anchors carry a gradient for even ramps and a cant for tilted curves, set by hand or worked out while laying track.

Besides its direction, every Track Anchor carries two more values: a gradient in percent and a cant in degrees. You set them in the anchor window while no track runs through the anchor, or the mod works them out when it places a new anchor at the end of new track.

ValueRangeWhat it does
Gradientup to 25 % up or downTrack leaves the anchor climbing or falling this steeply.
Cantup to 8° to either sideTrack at the anchor tilts sideways: one rail lies higher than the other.

Gradient

Track always leaves an anchor on the anchor's own gradient. A level anchor starts the track flat, an anchor at 5 % starts it at 5 %. This is what makes even ramps possible:

Set the gradient of the first anchor

Right-click the first anchor with the wrench and enter the gradient, for example 5. Positive climbs towards the direction in the window.

Click a spot on that gradient

5 % is one block up per 20 blocks. Select the anchor with track and click a spot that lies that much higher (or lower, for a negative gradient). The track is a straight ramp, and the new anchor gets the same 5 %.

Keep going

Continue from the new anchor the same way. The ramp runs on evenly over as many anchors as you like.

If you click a spot that is not on the anchor's gradient, the track still reaches it: its gradient changes evenly from the start's gradient to the one needed to arrive at the spot, and the new anchor takes that arriving gradient. From a level anchor to a spot one block higher and 20 blocks ahead, for example, the track starts flat and arrives at 10 %; the next piece then starts at 10 %. The gauge shows the average gradient of the piece, the height profile its shape.

Limits: the average gradient of a connection and the gradient at which a new anchor arrives are both at most 25 %. Beyond that Create answers "Slope too steep".

Cant

In a curve, a canted track raises the outer rail, as on real lines. Create tilts the ties and rails about the middle of the track, so the outer rail rises and the inner one sinks a little.

Cant while laying track

When track from an anchor to open ground is an arc, the new anchor gets a cant to suit the arc's radius, raising the outer rail. The tighter the arc, the more cant, in half degrees:

Radius of the arcCant at the new anchor
30 blocks or less8°
48 blocks5°
60 blocks4°
100 blocks2.5°
240 blocks1°
480 blocks or morenone

In general it is 240 divided by the radius, rounded to half a degree, at most 8°. Straight pieces get no cant.

The cant runs in along the track: between two anchors the tilt changes evenly from one anchor's cant to the other's. An arc from a straight line therefore starts flat and reaches its full cant at its end. The next arc of the same radius keeps that cant, and a straight piece after it lets the cant run out again.

Between two anchors, and between an anchor and Create's track, each end keeps the cant it has; Create's own track has none.

Cant by hand

In the anchor window you can give a free anchor any cant up to 8°. Positive raises the left rail, looking along the direction in the window, negative the right one.

Cant is for the look of the line: trains take a canted curve at the same speed as an uncanted one. Which curves slow trains down is explained in Curve speed.

Seeing gradient and cant

  • The gauge shows an anchor's gradient and cant, and the cant at both ends of a curve ("Cant a° to b°").
  • While you lay track, the height profile shows how the track runs against the ground.
  • With the wrench in hand, nearby track is coloured by its gradient.