# Making platform move with spline but without timeline

**URL:** <https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5, Physics, Blueprint, question\
**Created:** [May 16, 2023, 5:02pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814 "2023-05-16T17:02:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![banditowo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/banditowo/32/701307_2.png) [@banditowo](https://forums.unrealengine.com/u/banditowo)\
**Post date:** [May 16, 2023, 5:02pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/1 "2023-05-16T17:02:28Z")

</div>

Hello, I am in the middle of a group project and was tasked with making movement for a flying boat. I want to make it so that it moves on a set path with a spline but every tutorial I have found they do it with timelines. Is there a way to make it using force/physics instead so I can set it to move forward by itself on a set speed instead of time? I also need to add a button/lever that makes the boat stop/move when interacted with and I want to make that transmission look smooth, so like slowing down before stopping instead of it coming to a full stop; maybe there is a solution there instead where i can fix the timeline to slow down/speed up in interact? please help

---

<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:** [May 16, 2023, 7:41pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/2 "2023-05-16T19:41:40Z")

</div>

> [@banditowo](#):
>
> Is there a way to make it using force/physics instead so I can set it to move forward by itself on a set speed instead of time?

My initial gut feelings tells me you do not want physics here, it does not mesh with spline movement method well. However, you also say:

> making movement for a flying boat

So… maybe you do. Could you clarify that physics sim is, indeed, needed and climbing / diving should affect velocity in a realistic way with no player input, bar setting desired traverse speed.

> set it to move forward by itself on a set speed instead of time? I also need to add a button/lever that makes the boat stop/move when interacted with and I want to make that transmission look smooth, so like slowing down before stopping instead of it coming to a full stop; maybe there is a solution there instead where i can fix the timeline to slow down/speed up in interact? please help

We got ya, fam. See if this could work for you:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/2/d02dc7c7afee7cd197fe89906fbcfdb05638f3e0.jpeg)

- 1 & 2 set desired Speed in increments of 1 (moving backwards properly not included atm due to the modulo implementation in the engine). Do tell if the ship is ever supposed to traverse in the opposite direction. Or maybe you do not need it to go in circles? That simplifies things.

- we also interpolate and try to arrive at this value smoothly, only to then add it to the progress we’re making along the spline’s duration

The above is just a stub and more is needed to make it into a full system, ofc. Atm, it will accelerate to the desired speed, maintain it, and come to a smooth stop.

---

<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:** [May 16, 2023, 8:06pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/3 "2023-05-16T20:06:21Z")

</div>

You could then also combine the above with:

> [@Make a Ground Rail with Spline](https://forums.unrealengine.com/t/make-a-ground-rail-with-spline/789343/2):
>
> On the most fundamental level: check the inclination of the spline with dot product accumulate this value - that’s the speed use speed to progress through a spline You’ll need to add friction as this preserves energy as perfectly as frame time allows it. And input. And a gazillion other things that makes it a game. innocent

To add physics-like acceleration / deceleration based on a slope.

---

<div class="post-metadata">

**Author:** ![banditowo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/banditowo/32/701307_2.png) [@banditowo](https://forums.unrealengine.com/u/banditowo)\
**Post date:** [May 17, 2023, 12:19pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/4 "2023-05-17T12:19:52Z")

</div>

Thank you so much for this!! This is perfect for what I needed, the boat is basically just moving forward above ground/in the sky, that’s what I meant by flying boat, nothing too complicated about it, so this is everything I need!! Thank you so much again 🙏

---

<div class="post-metadata">

**Author:** ![lookslikev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lookslikev](https://forums.unrealengine.com/u/lookslikev)\
**Post date:** [November 15, 2023, 7:41pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/5 "2023-11-15T19:41:22Z")

</div>

Hello! I’m new in blueprints. Can you tell me the names of the nodes marked in my screenshot?  
 ![Screenshot_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/a/d7a5958bad851c3377bba4e8e2ba2f22181f7fb9.png)

---

<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:** [November 15, 2023, 8:05pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/6 "2023-11-15T20:05:09Z")

</div>

Not sure how to respond to this, the names are what they are. They are the default names.

* * *

Hm, perhaps this will help:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/7/7b77d63cafb57c85ffa86136bc695e7c746a2a88.jpeg)

You can add components to the actor, and then drag their reference variables into the graph; you can then drag wires off those variables to access their data / methods.

Does it help?

---

<div class="post-metadata">

**Author:** ![lookslikev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lookslikev](https://forums.unrealengine.com/u/lookslikev)\
**Post date:** [November 17, 2023, 1:05pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/7 "2023-11-17T13:05:53Z")

</div>

Thank you! I worded the question inaccurately. I have already worked with nodes in other programs. My question is which node takes a Spline as input and gives a duration as output?  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/6/aa6525a74a4cb2e29eacecb52e2f06d6bf3bca91.png)

---

<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:** [November 17, 2023, 1:10pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/8 "2023-11-17T13:10:46Z")

</div>

> which node takes a Spline as input and gives a duration as output?

`Duration`, as seen above. The questions you ask suggest there is something fundamental that you do not understand about nodes, though. Nodes are context sensitive. Drag a wire, then search:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/5/9757f7d2ce6d22f4065bb20be9c651680c9d2e04.png)

Perhaps this would help:

> **[Nodes](https://docs.unrealengine.com/4.26/en-US/ProgrammingAndScripting/Blueprints/UserGuide/Nodes/)**
>
> Node graph that uses events and function calls to perform actions in response to gameplay events associated with the Blueprint.

---

<div class="post-metadata">

**Author:** ![lookslikev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lookslikev](https://forums.unrealengine.com/u/lookslikev)\
**Post date:** [November 17, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/9 "2023-11-17T13:14:03Z")

</div>

I didn’t know that nodes were context sensitive. Thanks a lot! I think this will help me! Thank you for your help!

---

<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:** [November 17, 2023, 1:14pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/10 "2023-11-17T13:14:54Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/e/28eb7edd21754ec964625db74d40b2da1af75314.png)

It’s this, best leave it on. It will filter what you need. There’s probably 12 different duration nodes in the engine. This will allow you to get the correct one. Otherwise we get this:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/f/56f9d8160e3321f980ebc02ab7d37457d8b9a1a3.png)

Not that useful. These are all unique and not interchangeable.

Good luck!

---

<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:** [December 17, 2023, 1:15pm UTC](https://forums.unrealengine.com/t/making-platform-move-with-spline-but-without-timeline/1167814/11 "2023-12-17T13:15:38Z")

</div>

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