Download

Problem by creating a personalizable moving platform with a timeline

Hi everyone,

I want to create a moving platform by using a timeline, my timeline looks like this:

93f1df3717299f85278f10b3b8ac8b79cbf9d86d.png

So the platform is moving to the right on the first 2 seconds, then the platform is moving to his initial position.

My problem: I want to personalize this platform (moving direction, speed), so I want to be able to edit this value…

…from the detail panel like this:

1439148836-capture3.png

So I created some public variables (editable in the detail panel) and I want to use these variables in the timeline, but I don’t know how to do it:

Can someone explain to me how to do it?

Thanks for your time! :slight_smile:

I posted a thread just like this a while back, and it looks like you can’t edit curves from blueprint. Something you can do from blueprint is just to set your value to 1 in the curve, and then when you want a customizable value, just multiply the red value by your variable.

What jamen said: have your curve go from 0 - 1 and multiply the value you want it to be at the end. You could make that variable in the construction script too so that you could use the 3D widget feature and set the end point in the level itself. :slight_smile:

Thank you very much, it works great! :slight_smile:

If someone is interested, here’s my final blueprint:

I never used the 3D widget feature before, so I don’t know how to do it, but thanks for this information, I will read the documentation, it looks very interesting :slight_smile:

Thank you everyone and have a great day! :slight_smile: