Need some help getting a Moving Platform to Loop

I’ve been fiddling with a prefab blueprint for a moving platform and I want to make a way to tell it to loop with a Boolean variable.
This is what the blueprint currently looks like.

The Height Float variable and the Multiply node is there so I can adjust the height that the platform will reach when activated.

This however is currently how it behaves:

Can’t figure out how to keep it from snapping into that position. It’s like it doesn’t even play the first timeline node anymore.

Can you try stopping two streams getting fed into that “platform-activate” node? Add a branch node before that, promote it’s condition into a new variable, set that variable to false after the branch node’s true condition so that the loop gets played in order and that initial node doesn’t get triggered continuously

I set mine up with 2 events( move to point one and move to point 2) theoretically you could have as many points as you like though, at the end of each call the other, and instead of set location call move component to. Throw away that timeline stuff just over complicates it

Just tried doing what you said here and getting the same result.

Was I supposed to put this branch node somewhere else? I was trying to follow what you were saying as best I could.

The true pin of the branch node should have went in the play pin if you’re setting that condition variable to false after that

I see a couple of problems with your BP:

  1. You’re calling second timeline from Update method, should be used Finished unless you want to reverse at any point
  2. I don’t know what value you’re using in your timelines, but seems like you’re just inversing position in second timeline, you should just lerp between two positions when using Relative Location. Like from 0 to 150 and then from 150 to 0.
  3. Here is a quick setup with single Timeline. Value in Timeline just goes from 0 to 1 and used as alpha between 0 and Height
1 Like

This one got it to loop great. Might just add delays on the custom events so you have time to jump on and off the platform.

For my looped platform I decided to just make a new blueprint that will loop instead of remaining stationary.

Now I just have to figure out a way for my switches to be able to activate this one.