# Hey, i have a small project and  I'm trying to create a spline for my train from different parts from an other spline that already exists.  Need some help 

**URL:** <https://forums.unrealengine.com/t/hey-i-have-a-small-project-and-im-trying-to-create-a-spline-for-my-train-from-different-parts-from-an-other-spline-that-already-exists-need-some-help/1820252>\
**Category:** Programming & Scripting\
**Tags:** spline-mesh-componen, unreal-engine, Spline, Splines, question, Blueprint\
**Created:** [April 25, 2024, 3:03am UTC](https://forums.unrealengine.com/t/hey-i-have-a-small-project-and-im-trying-to-create-a-spline-for-my-train-from-different-parts-from-an-other-spline-that-already-exists-need-some-help/1820252 "2024-04-25T03:03:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hossamzaio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hossamzaio](https://forums.unrealengine.com/u/hossamzaio)\
**Post date:** [April 25, 2024, 3:03am UTC](https://forums.unrealengine.com/t/hey-i-have-a-small-project-and-im-trying-to-create-a-spline-for-my-train-from-different-parts-from-an-other-spline-that-already-exists-need-some-help/1820252/1 "2024-04-25T03:03:49Z")

</div>

🤧

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [April 25, 2024, 3:19am UTC](https://forums.unrealengine.com/t/hey-i-have-a-small-project-and-im-trying-to-create-a-spline-for-my-train-from-different-parts-from-an-other-spline-that-already-exists-need-some-help/1820252/2 "2024-04-25T03:19:38Z")

</div>

Hey there @hossamzaio! Welcome to the community! Are the splines you’re intending to connect procedural/determined at runtime? Or are they put together in editor? If in editor, you can just overlap the portions and have the same node locations on each. At runtime, the idea would basically be the same, but if it’s a spline mesh that you want to blend, that gets significantly trickier.

A quick thread with 2 excellent resources for working with splines at runtime (or in general for the Epic tutorial):

> [@Add spline point in Runtime from Blueprint](https://forums.unrealengine.com/t/add-spline-point-in-runtime-from-blueprint/467319/):
>
> I want to add a spline point in between 2 spline points like this. I am confused like how to work with spline point or points Whenever i click play point C should be added in between point A and Point B and also how can i get the length between Point C to A and Point C to B

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 25, 2024, 3:29am UTC](https://forums.unrealengine.com/t/hey-i-have-a-small-project-and-im-trying-to-create-a-spline-for-my-train-from-different-parts-from-an-other-spline-that-already-exists-need-some-help/1820252/3 "2024-04-25T03:29:39Z")

</div>

Hi, another option is rdSplineTools - it allows you to break up a spline into smaller sub-splines - you can just copy/paste your existing train track spline (or just the spline data itself using rdSplineTools) and then break it into X amount of sub-splines which you can then use however you wish.

[https://www.unrealengine.com/marketplace/en-US/product/rdsplinetools](https://www.unrealengine.com/marketplace/en-US/product/rdsplinetools)

---

<div class="post-metadata">

**Author:** ![HugoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hugod/32/931219_2.png) [@HugoD](https://forums.unrealengine.com/u/HugoD)\
**Post date:** [May 2, 2024, 7:15pm UTC](https://forums.unrealengine.com/t/hey-i-have-a-small-project-and-im-trying-to-create-a-spline-for-my-train-from-different-parts-from-an-other-spline-that-already-exists-need-some-help/1820252/5 "2024-05-02T19:15:00Z")

</div>

If its in editor, you can also store all the splines that the track should follow in an array. Then in blueprint do a for each loop on this array and get all spline point locations and tangents for each spline and store this in a array’s. Finally you can update your train spline with this data
