How can I use a Variable as Value inside of a timeline?
Hi, as you can see in the headline I am trying to set my Walkepeed with a timeline to slowly spow down. But I am using a Sprint funktion as well, so how can i use a variable in the timeline to slow down from the speed the pawn has at the time? Thanks. I apologize for my englisch.
asked Feb 19 '19 at 06:18 AM in Blueprint Scripting
You cannot (well, you can, but it's fiddly and awkward), and that's not what Timelines are used for. Their tracks are better used as alpha to interpolate between 2 set values.
In order to smoothly change player walking speed, it's much better to fInterpTo between 2 target values during tick - this will give you a smooth transition that can be interrupted (or reversed) much more elegantly than a timeline.
answered Feb 19 '19 at 10:27 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here