Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Bind action to mobile Swipe left and right


I have a problem on a game Im trying to develop since 7 days now and Im not even close to find the first step of the indication that could lead to a solution :)

I should say its my first question in the answerhub so sorry if this questions has alreadu being asked.

I should also say that Im a total noob in UE4 and maybe my question will be idiot for you so sorry too.

Im developping an infinite runner and on desktop I succeeded in binding an action on pressing a key ( see the img below) . So on pressing Q = I launch and animation and the character goes on the left, On pressing D same thing on the right.

alt text

So I want to do the same thing on swipe gesture left and right. Tried a lot of things without any success, even bought Ultimate Touch Components from the marketplace. And nothing ! Not a clue :)

Any help will be much appreciated ! Just putting me in the right direction will be great.

Thx in advance for the help

Product Version: UE 4.18
a7bbkmo.png (149.8 kB)
more ▼

asked Mar 08 '18 at 11:37 PM in C++ Programming

avatar image

1 1 2 3

avatar image Voclost Mar 08 '18 at 11:39 PM

EDIT : tried to do it with the virtual gamepad = Nothing

PS: sorry for my english its my 3rd language

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

If it can help anybody, I've found the solution thanks to Accrosfy from Ultimate Touch Components


Using his BP solution I have added a call to the C++ function that trigger the behavior that I needed, see the BP below :

alt text

solution.png (523.0 kB)
more ▼

answered Mar 10 '18 at 03:39 PM

avatar image

1 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question