Rail

Slides and moves objects along its surface when powered and triggered. Useful for creating retractable pistons and actuators, for turrets or other retractable devices.

Rails will only move objects connected on the relative top surface of the rail.

The rail can only be activated through the use of polysilicons. Mode 0 or activating polysilicons will set the rail to position1. Mode 1 or deactivating polysilicons will set the rail to position2. Mode 2 or flip flop polysilicons will act like a switch, setting to position2 if position1 and vice versa.

Has 2 configurations, position1 and position2.

Both configurations should be between 0 and 100. These are percents of where the attached objects should slide to. For example, if a rail was 50 studs long and position2 was 50 or 50%, the attached objects will slide to the middle or at 25 studs.

Due to buggy code, rails may act weirdly. To prevent this from happening, you should always place your rails first before anything else. It is recommended to connect objects on the rail after the rail is safely placed down.

Rails are also used as ammo for Railguns.