# How to use and program a spline using C++

**URL:** <https://forums.unrealengine.com/t/how-to-use-and-program-a-spline-using-c/357247>\
**Category:** C++\
**Tags:** splinemeshcomponent, unreal-engine, Spline, CPP, question\
**Created:** [May 12, 2016, 6:48pm UTC](https://forums.unrealengine.com/t/how-to-use-and-program-a-spline-using-c/357247 "2016-05-12T18:48:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![whmalas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@whmalas](https://forums.unrealengine.com/u/whmalas)\
**Post date:** [May 12, 2016, 6:48pm UTC](https://forums.unrealengine.com/t/how-to-use-and-program-a-spline-using-c/357247/1 "2016-05-12T18:48:30Z")

</div>

I am trying to use a spline with a spline mesh to take a pipe and make it follow a path (spline points). I have been searching the documentation and there are very few examples that use splines in C++. If I could get some example code to go along with it, that would be fantastic. I have seen various other people’s code but it is not updated for 4.10 or 4.11. Thanks so much for any help you can give!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f82846a8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f82846a8](https://forums.unrealengine.com/u/anonymous_user_f82846a8)\
**Post date:** [June 18, 2016, 3:06pm UTC](https://forums.unrealengine.com/t/how-to-use-and-program-a-spline-using-c/357247/2 "2016-06-18T15:06:12Z")

</div>

Hi !

Do you manage to solve this issue? Do you mind share it here if you solve it?

Thank!
