Hi, I’m trying to make a 3rd person game where the character runs automatically with the user swiping a touch screen to change the players direction and tapping to jump. To start with I was using keyboard controls and that worked great. Now i’m trying to implement the touch controls I need a little help. I used a camera swipe tutorial to start with and then have been trying to adapt it with no success. The character jump works fine. However the character current only moves to the left and only moves when the mouse button is being pressed. On a side note: The character currently only moves backwards forward left and right. Any advice on moving him diagonally would be much appreciated. Thanks in advance for your help. Andy
This might not be the most elegant solution however it does work. If you’re looking for a character movement BP where the character moves without input, touch swipe to change direction up, down, left, right and tap to jump then this will work. Remember to create the variables before you start. Boolean for whether the screen is pressed and 2D Vector for logging the touch locations start and end on the screen.