I’m working on having touch controls for my game and was interested in having the character move via swiping. Each swipe would move the character a set distance, and the character can move in the four cardinal directions, or diagonally. Is there a simple way to detect these swiping motions with UE4.8?
On Touch Input
Press -> Save Location
Release -> Check distance between saved location and current location -> Decide if the distance is greater than ur swipe-threshold
I made a plugin that does what @Rouby describes and surfaces the swipes as events that you can respond to in blueprint, similar to how touches work: