Have actor respond to swipe commands

I need an actor to move a certain distance based on the strength of a swipe and also to follow the direction of the swipe command (similar to in golfing games where you swipe a ball to go somewhere). The game is with a character jumping from platform to platform (freerunning) and I need the actor to respond well to a swipe command. Please comment if you know how to do this. Thanks for your help.

Comments

Sign In or Register to comment.