Move paper character with swipe movement android

Hi all,

I would like to be able to move the character based on the swipe movement.
Something like those games: Youtube Games Example

I would like to move the character based on the swipe distance, what i mean is that i don’t want the character to being “trasported” right under the finger location, instead i would like that if the user dragged the finger for 2cm to the right, the character move to the right based on the current position, so the position of the finger is not important, it’s import the direction where you are dragging the finger. I hope i have explained myself