Here’s a screenshot of my blueprint so far:
My setup works with both WASD and and Xbox 360 controller. Just as a note, for whatever reason the Axis is reversed on the controller… which is why I have the Stick X going into Y, etc.
What I’m trying to figure out now is how I can cap the speed so that it doesn’t just keep accelerating forever.
After that, I want to put together a better way to slow down to a stop. You’ll notice that in Waves the ball won’t immediately come to a stop, but neither does it’s momentum affect how quickly it comes to a stop. I don’t think he uses physics forces and the more I’m working with them to clone that control scheme, the less I like how complicated it is.
Like, even after I get both of those things done, I want to also be able to change direction without having to decelerate before accelerating again. If you move in the opposite direction currently, you have to first apply opposite force to dissipate your momentum to begin traveling in the opposite direction.