How to gradually decrease velocity?
My left and right movements are with accelerator behavior in a rule, and at the bottom where it says "otherwise," I change attribute: velocityX to 0... (in other words, when I stop pressing the left or right button, my actor comes to an abrupt stop)
So, I would like to gradually decrease it's velocityX to 0 instead of having my actor stop abruptly when I let go of the left or right button. What formula can I use?
P.S. there is no gravity on purpose and I'm using "accelerator" for movement rather than "move" for the nature of the game.