TL;DR
Automatically switch to ghost build mode depending on distance. Use shift to force removal of obstacles in ghost build mode.What ?
- Clicking without shift:
- If the whole rail is within reach: direct build mode
- When any part of the rail gets out of reach, automatically switch to ghost build mode while avoiding obstacles"
- Clicking with shift or pressing shift enters ghost build mode while removing obstacles. Releasing shift switches back to the other mode (avoiding obstacles either direct build or ghost build depending on the range)