# Is it possible to move a pawn along the point of a spline, so that it takes 1/50 sec to go from one point to the next?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-move-a-pawn-along-the-point-of-a-spline-so-that-it-takes-1-50-sec-to-go-from-one-point-to-the-next/795979>\
**Category:** Blueprint\
**Tags:** unreal-engine, editor, Blueprint, question\
**Created:** [March 21, 2023, 9:10pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-move-a-pawn-along-the-point-of-a-spline-so-that-it-takes-1-50-sec-to-go-from-one-point-to-the-next/795979 "2023-03-21T21:10:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyBaia99](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tonybaia99/32/634749_2.png) [@TonyBaia99](https://forums.unrealengine.com/u/TonyBaia99)\
**Post date:** [March 21, 2023, 9:10pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-move-a-pawn-along-the-point-of-a-spline-so-that-it-takes-1-50-sec-to-go-from-one-point-to-the-next/795979/1 "2023-03-21T21:10:12Z")

</div>

the question is practically the one in the title. I’ve tried using timeline and various solutions, but I can’t get it to work. Does anyone have an idea how this can be done.  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [March 22, 2023, 8:11am UTC](https://forums.unrealengine.com/t/is-it-possible-to-move-a-pawn-along-the-point-of-a-spline-so-that-it-takes-1-50-sec-to-go-from-one-point-to-the-next/795979/2 "2023-03-22T08:11:16Z")

</div>

Timeline is the way, because it will move the pawn at a predictable rate. Any option where you move it a certain amount in a certain time will have to compensate for machines running at different speeds, and end up being more complex.

Can you show your timeline code?

---

<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:** [March 22, 2023, 8:45am UTC](https://forums.unrealengine.com/t/is-it-possible-to-move-a-pawn-along-the-point-of-a-spline-so-that-it-takes-1-50-sec-to-go-from-one-point-to-the-next/795979/3 "2023-03-22T08:45:00Z")

</div>

Apart from length, splines have duration - you can treat them as Time. What’s more, you can normalise the distance accordingly:

> [@Actors on spline with irregular spacing](https://forums.unrealengine.com/t/actors-on-spline-with-irregular-spacing/677071/4):
>
> Play with distribution using spline duration instead: [image] The results without: And with Constant Velocity: Perhaps that’s enough.

Not a direct answer to your question, more of a thought process behind it and a different way of working with splines. Hope you can leverage that.

---

<div class="post-metadata">

**Author:** ![TonyBaia99](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tonybaia99/32/634749_2.png) [@TonyBaia99](https://forums.unrealengine.com/u/TonyBaia99)\
**Post date:** [March 22, 2023, 4:08pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-move-a-pawn-along-the-point-of-a-spline-so-that-it-takes-1-50-sec-to-go-from-one-point-to-the-next/795979/5 "2023-03-22T16:08:04Z")

</div>

Thank you very much.  
This approach is very interesting. I already find a way to move the object how i want it, but i did’t think of using the duration of the spline.

 ![Screenshot 2023-03-22 alle 12.16.45 PM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/0/e7071b86fab531703a4b236a903eaae8325c8b60.jpeg)  
What you see in the image, is what i have done. But probably there is the problem you pointed out, because on small spline it work, but on more complex and long spline it doesn’t work.  
Now i will try to do something with you idea. Thanks
