x

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"

How do I check for touch events on level event graph

This info is all related to Android devices currently...

I'm trying to get a swipe mechanism working in a game and I need to test for generic touch events in a level but can't get anything to register.

I know touch itself is working, as I have objects in the level that have TouchEnter events working just fine.

In the Event Graph of the level BP itself I have tried Events BeginInputTouch, TouchEnter, registering touchinput and even tried getting the input touch state from the player controller on the event tick to see if it's currently pressed. None of these are triggering.

So the answer I'm after is, how do I intercept touch events without having an on-screen object involved.

Thanks.

Product Version: UE 4.9
Tags:
more ▼

asked Sep 21 '15 at 02:21 AM in Blueprint Scripting

avatar image

Jgibbs
43 9 9 16

avatar image Jgibbs Sep 21 '15 at 10:56 AM

I've partially answered my own question thanks to the level BP window not having a save button. Being used to not having to save to run my projects I wasn't aware that saving was necessary before packaging the android projects, so the variety of things I was trying was mostly in vain.

With that, the input touch state from the player controller is queryable so I can achieve my goal, but this is requiring polling on the tick event. I would still like the regular touch events to be usable for this, so if that could be answered it would be appreciated.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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