---
title: "Laying track"
description: "The three kinds of connection with Track Anchors and the rules for length, radius, change of direction and gradient."
canonical_url: "https://wiki.nevercold.eu/en/create-optimized-rails/track/laying-track"
---
# Laying track

> The three kinds of connection with Track Anchors and the rules for length, radius, change of direction and gradient.

Track is laid with Create's ordinary **Train Track** item, exactly as in Create: right-click the start, then
right-click the end. As soon as one end is a Track Anchor, Create Optimized Rails works out the connection. Create's
preview, the cost in track items, paving with a block in the off hand and Create's messages all stay the same.

## Three kinds of connection

### From an anchor to open ground

Select an anchor, then click a free spot on the ground. The track leaves the anchor in its direction and a **new
anchor** is placed at the end.

- If the spot lies on the anchor's line, the track is **straight** and the new anchor points the same way.
- Otherwise the track is a **circular arc**, bent just as much as needed to reach the spot. The new anchor takes the
direction in which the arc arrives, so the next piece continues smoothly.
- The new anchor also takes the gradient at which the track arrives, and at the end of an arc a cant to suit its
radius, see [Gradient and cant](https://wiki.nevercold.eu/en/create-optimized-rails/track/gradient-and-cant).

The new anchor's direction is not rounded to the degree; the gauge shows it with one decimal. The new anchor costs
nothing extra, only the track items for the connection are taken.

If something is in the way, the mod answers "There is no room for a new anchor here".

### Between two anchors

Select one anchor, then click the other. Both directions are fixed, so the track is a curve that leaves each anchor
in its direction, on its gradient and with its cant: an arc if they point towards each other at an angle, an **S-bend** if they are parallel but offset,
a straight line if they lie on one line.

### Between an anchor and Create's track

Select an anchor and click a Create track, or the other way round. On the Create side the track joins along the
Create track's own direction, the one nearest to where you look. Create's track end must be level: its ramps and
tilted track cannot be joined to an anchor. Starting from Create's track and clicking open
ground lays Create's ordinary track by Create's rules: new anchors only grow from an anchor.

## Rules

Every connection with an anchor must keep these rules. If it does not, nothing is laid and Create shows the message
for it.

<table>
<thead>
  <tr>
    <th>
      Rule
    </th>
    
    <th>
      Limit
    </th>
    
    <th>
      Message
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Length
    </td>
    
    <td>
      at most Create's longest track placement, 32 blocks unless the server changed it
    </td>
    
    <td>
      "Too far away"
    </td>
  </tr>
  
  <tr>
    <td>
      Change of direction
    </td>
    
    <td>
      at most 90° over one connection
    </td>
    
    <td>
      "Can only turn up to 90 Degrees"
    </td>
  </tr>
  
  <tr>
    <td>
      Tightest radius
    </td>
    
    <td>
      at least 7 blocks, about Create's own tight 45° curve
    </td>
    
    <td>
      "Turn too sharp"
    </td>
  </tr>
  
  <tr>
    <td>
      Distance between the ends
    </td>
    
    <td>
      at least 1 block apart horizontally
    </td>
    
    <td>
      "Turn too sharp"
    </td>
  </tr>
  
  <tr>
    <td>
      Gradient
    </td>
    
    <td>
      at most 25 % on average, i.e. 1 block up per 4 blocks; a new anchor may arrive at no more than 25 % either
    </td>
    
    <td>
      "Slope too steep"
    </td>
  </tr>
  
  <tr>
    <td>
      Direction
    </td>
    
    <td>
      each end must lead towards the other; the track may not double back
    </td>
    
    <td>
      "Cannot connect perpendicularly"
    </td>
  </tr>
  
  <tr>
    <td>
      Create's track
    </td>
    
    <td>
      not from or to a tilted Create track
    </td>
    
    <td>
      "Cannot start connection from a Turn"
    </td>
  </tr>
  
  <tr>
    <td>
      Create's ramps
    </td>
    
    <td>
      not from or to a Create ramp
    </td>
    
    <td>
      "Cannot enter or leave slope on a turn"
    </td>
  </tr>
</tbody>
</table>

The length limit is Create's server setting `maxTrackPlacementLength`; raise it there for longer connections.

## Height

The two ends of a connection may be at different heights, up to 25 % on average. The track leaves every anchor on
the anchor's own gradient, so a level anchor starts flat and an anchor set to 5 % starts at 5 %. For an even ramp
over several anchors, give the first anchor the gradient in the [anchor window](https://wiki.nevercold.eu/en/create-optimized-rails/track/track-anchor#the-anchor-window)
and click spots that lie on that gradient. All the details, and cant in curves, are in
[Gradient and cant](https://wiki.nevercold.eu/en/create-optimized-rails/track/gradient-and-cant).

<tip>

For a long straight line at an angle, place the next anchor exactly on the line. The gauge shows "Straight" when it
is. If you click slightly beside it, the piece becomes a very wide arc and the line drifts a little.

</tip>


## Sitemap

See the full [sitemap](https://wiki.nevercold.eu/sitemap.md) for all pages.
