# Stuttering Movement along Spline

**URL:** <https://forums.unrealengine.com/t/stuttering-movement-along-spline/409079>\
**Category:** Blueprint\
**Tags:** splinecomponent, unreal-engine, Spline, stuttering, Blueprint, question\
**Created:** [November 8, 2017, 4:36pm UTC](https://forums.unrealengine.com/t/stuttering-movement-along-spline/409079 "2017-11-08T16:36:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0358ed391](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0358ed391](https://forums.unrealengine.com/u/anonymous_user_0358ed391)\
**Post date:** [November 8, 2017, 4:36pm UTC](https://forums.unrealengine.com/t/stuttering-movement-along-spline/409079/1 "2017-11-08T16:36:44Z")

</div>

Hi there!

Im currently creating a small game  
with trains, which are moved along  
SplineComponents via Blueprint.

- Each Train consists of axes which are  
positioned on the Spline and moved  
all at once, the rest of the train is  
placed in the middle of the axes. No  
problem so far.

- But my problem ist, that the movement  
of the train, or more precisely the  
movement of the axes, is stuttering  
back and forth especially at higher  
speeds. So when my Character stands  
on the train you can look down and  
see the wagon stutter on the edges.

Here is a video:

  
There is so multiplayer/server stuff.

Maybe someone has experienced a simillar problem. I really don’t know what causes this weird issue.  
Is it a Blueprint problem and would copying the behavior into C++ Code solve the issue?  
Or does it have to do with how I attach the components? (Axes are attached to Wagons, but the Wagon itself is positioned “between the axes” every frame)  
If you wish I can add any further Infos/Blueprints, because I dont know which BPs might lead to the problem.

Thanks for any ideas or solutions!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0358ed391](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0358ed391](https://forums.unrealengine.com/u/anonymous_user_0358ed391)\
**Post date:** [April 10, 2018, 9:40am UTC](https://forums.unrealengine.com/t/stuttering-movement-along-spline/409079/2 "2018-04-10T09:40:34Z")

</div>

I think I have found a decent solution.

In your SplineComponent (either Blueprint or C++, I have transfered my project to C++)  
you have to set:

ReparamStepsPerSegment

of the Spline to a higher value ( e.g. 50), that seems to increase precision when calculating the movement!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8bd91971](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8bd91971](https://forums.unrealengine.com/u/anonymous_user_8bd91971)\
**Post date:** [February 16, 2022, 12:02am UTC](https://forums.unrealengine.com/t/stuttering-movement-along-spline/409079/3 "2022-02-16T00:02:37Z")

</div>

Hey, have you found a solution for this? I’m facing a similar problem and changing the ReparamStepsPerSegment is not fixing it.

---

<div class="post-metadata">

**Author:** ![Mauxx91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mauxx91](https://forums.unrealengine.com/u/Mauxx91)\
**Post date:** [September 8, 2023, 10:15am UTC](https://forums.unrealengine.com/t/stuttering-movement-along-spline/409079/4 "2023-09-08T10:15:22Z")

</div>

It worked perfectly on my splines setup! Thanks!
