# Moving actors on Spline behaves weirdly

**URL:** <https://forums.unrealengine.com/t/moving-actors-on-spline-behaves-weirdly/2457001>\
**Category:** Blueprint\
**Tags:** timeline, lerp, unreal-engine, Spline, spawning-actors, Blueprint, question\
**Created:** [April 14, 2025, 8:33pm UTC](https://forums.unrealengine.com/t/moving-actors-on-spline-behaves-weirdly/2457001 "2025-04-14T20:33:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhakatiri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rhakatiri](https://forums.unrealengine.com/u/Rhakatiri)\
**Post date:** [April 14, 2025, 8:33pm UTC](https://forums.unrealengine.com/t/moving-actors-on-spline-behaves-weirdly/2457001/1 "2025-04-14T20:33:33Z")

</div>

I’m trying to make a spline conveyor thing where i can step through the spline and actors move on it. When they reach either side it will spawn a next actor from array on the corresponding side.

It all is working kind of. But I think when actor reaches a side sometimes they for some reason get stuck in a weird loop where it destroys and spawns new actor during the timeline but without printing out the info it all looks normal.  
(It happens always when I reach the end of array and move to end of spline. But sometimes rarely it happens randomly also.)

I have tried branches but they haven’t worked for me. I’m quite lost at what to do.

---

<div class="post-metadata">

**Author:** ![Rhakatiri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rhakatiri](https://forums.unrealengine.com/u/Rhakatiri)\
**Post date:** [April 21, 2025, 8:42pm UTC](https://forums.unrealengine.com/t/moving-actors-on-spline-behaves-weirdly/2457001/2 "2025-04-21T20:42:01Z")

</div>

what I did was rather than use \<= or \>= . I used “Nearly equal (float)” node.

And NOT clamping the lerp value when setting current distance.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 21, 2025, 8:42pm UTC](https://forums.unrealengine.com/t/moving-actors-on-spline-behaves-weirdly/2457001/3 "2025-05-21T20:42:52Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
