I’m working on finishing up my character (ball) controller, But I’ve run into a problem. What I’m trying to do is add a brake function to my ball. So, for example, when the “Brake” axis is pressed it will take my speed variable and cut it in half, slowing down the ball. My problem lies when I release the brake button, it doesn’t go back to it’s originial value, because it has been set to something smaller, so that is it’s value now.
So to put it simply, I want to change my Speed variable, then put it back to how it was. Thanks for the help!