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.
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.
Play from Start solved it. Thanks, Paradoc.