My PlatForm Moves Continuously


I’m gathering from your code, that you want the platform to go up and down?

You have two problems

  1. With timelines, you need to calculate the variables before you start. You can’t be sampling actor positions during the TL.

  2. Your way of trying to make it go up and down will introduce a lot of weirdness. Everything you have on the update pin of the first TL, will execute EVERY FRAME. That means, all this

I can see what you’re going for, but, not the correct method :wink:

This will do the trick

Notice turned on ‘loop’, and made the curve go up and down

How to do get the location of start and end can you show me an example like:-(platform and scene Component)

Let’s say the platform is a mesh in the blueprint. Then

platform

One way to do what you were originally trying to do is

( this is non-looping TLs )

This Solve the Problem Thank you very much
And Do you have discord?

You’ve still got it connected up wrong… :slight_smile:

Take a look at my other example…

can you see video i have send

I did. But it’s working by total fluke…

You run the second TL AFTER the first has finished…

oh can i talk in discord

Can’t rn I’m afraid, maybe later :slight_smile:

ok

it’s work

Nice… :slight_smile: