# Building train track in game

**URL:** <https://forums.unrealengine.com/t/building-train-track-in-game/441742>\
**Category:** Blueprint\
**Tags:** unreal-engine, Spline, UE4, Blueprint, question\
**Created:** [January 21, 2019, 8:11am UTC](https://forums.unrealengine.com/t/building-train-track-in-game/441742 "2019-01-21T08:11:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magi-DW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Magi-DW](https://forums.unrealengine.com/u/Magi-DW)\
**Post date:** [January 21, 2019, 8:11am UTC](https://forums.unrealengine.com/t/building-train-track-in-game/441742/1 "2019-01-21T08:11:58Z")

</div>

So i want to make building sytem that allows me to build train track in game, connect them and later place train on them so that i can travel/transport objects with it.

---

<div class="post-metadata">

**Author:** ![SupDeity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupDeity](https://forums.unrealengine.com/u/SupDeity)\
**Post date:** [January 21, 2019, 9:30am UTC](https://forums.unrealengine.com/t/building-train-track-in-game/441742/2 "2019-01-21T09:30:53Z")

</div>

hmm so create a building system then. it shouldnt be much different than building foundations. u just snap one foundation to another. if you know how to use ue4 well enough u can build the system yourself or just try searching up a tutorial.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [January 21, 2019, 11:38am UTC](https://forums.unrealengine.com/t/building-train-track-in-game/441742/3 "2019-01-21T11:38:42Z")

</div>

You can create several rail track BPs (straight, turnning, intersection, switches) and add splines to them. You can use the splines for trains movement, and I believe you can use splines’ extreme points to snap tracks to each other. If not, you can always add soskets to tracks meshes.

---

<div class="post-metadata">

**Author:** ![plangton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plangton](https://forums.unrealengine.com/u/plangton)\
**Post date:** [January 21, 2019, 12:05pm UTC](https://forums.unrealengine.com/t/building-train-track-in-game/441742/4 "2019-01-21T12:05:13Z")

</div>

what you need can be easily achieved with splines and then move an object (in your case the train) along its path.  
there is a rollercoaster plugin already available open source that you can have a look at

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...
