Ok, are you speaking about sprite animation or code?
For sprite you only need to try animation, do with one leg it work better, does your character has hair, and if it continue to flew? well play with momentum
As up for code it will be momentum too, but with code it work with acceleration, so try to put some max value and let your body accelerate!
OublieduChaos