# Move Text/3D-Text along spline

**URL:** <https://forums.unrealengine.com/t/move-text-3d-text-along-spline/407984>\
**Category:** UI\
**Tags:** text, unreal-engine, Spline, question, Blueprint\
**Created:** [October 26, 2017, 7:06am UTC](https://forums.unrealengine.com/t/move-text-3d-text-along-spline/407984 "2017-10-26T07:06:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 29, 2017, 11:30am UTC](https://forums.unrealengine.com/t/move-text-3d-text-along-spline/407984/6 "2017-10-29T11:30:27Z")

</div>

> 1: No matter what i did, i just  
> couldn’t get the TextRender to adapt  
> to the shape of my spline. I guess you  
> have to do some manual work to the  
> TextRender (set start/end  
> position/tangents), which i wasn’t  
> able to figure out how to do it.

As I mentioned initially, text render is not a spline mesh so it cannot be deformed by the spline. A potential solution would be to make a text render for every letter:

 ![218300-1-trarraygraph.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/a/0fab36b1782357f22b67e089f3fbec7d279e90ca.png)

MyText is converted to an array of letters, and for every letter I dynamically add a TextRenderComponent and set its text. The _CharacterSpacing_ is not necessary as, eventually, we’re going to ask the spline to provide a position for every letter instead.

- 
  - 

Which would give you something like that:

 ![218311-exampletrarray.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/c/29ccb794174a6760d3f50732f15bcc8b96774046.png)

- 
  - 

Next, you need a location and rotation for every letter along the spline. This can be done by dividing the spline length by the amount of letters and getting a location and rotation at the specified spline length.

 ![218312-2-trsplinelocandrot.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/5/7c587c14c10e979b874a1d347df1a8dbff1b1c1a.png)

- 
  - 

It should give you something like this:

 ![218313-2-textalongspline.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/e/95e0318b718a386eabcf84840344662ea389983c.png)

The text is stretched along the entire spline but it can be fixed easily.

---

_[View the full topic](https://forums.unrealengine.com/t/move-text-3d-text-along-spline/407984)._
