How to gradually decrease velocity?
Simple Gamer Arts
Member, PRO Posts: 305
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?
THANK YOU
P.S. there is no gravity on purpose and I'm using "accelerator" for movement rather than "move" for the nature of the game.
Comments
Change Drag to 200 (or whatever suits your needs)
Attributes > Physics > Drag