How to make a TImeline repeat each time I release a button?
Hey guys, I created a little blueprint to implement a basic variable speed as in games like Splinter Cell. Then I thought it would be nice if I also implemented a sprint functionality like the one in Assassin's Creed. Sprint speed is twice the value of my jog speed, which is the maximum speed of my variable speed system. I have everything working great except one thing. I created a timeline to smoothen out the steep transition from a 750 sprint down to 375 jog over 1 second and it's working, but only the first time I release the sprint button. I want this to happen every time. What do I need to change in the blueprint below? Thanks in advance.
asked Feb 06 '16 at 03:56 PM in Blueprint Scripting
if you're using a character component, acceleration is already handled there, so you should be able to modify just the max speed and in your character movement component set the desired accel/deccel rate to achieve your desired result. however, if you want to customize this with your timeline, you could try 'play from start' instead of 'play', but you may run into situations where you'll actually need to not always play from start, and instead play from wherever you left off during the transition if the transition was interrupted.
answered Feb 08 '16 at 04:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here