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 you implement touch pinch events in Blueprint?

I was unable to find related answers, how would you implement multiple fingers on a touch screen, specifically for registering a pinch gesture on mobile, using blueprints?

Product Version: Not Selected
Tags:
more ▼

asked May 18 '14 at 11:43 PM in Blueprint Scripting

avatar image

kingkeoua
206 25 25 201

avatar image mikesdav May 24 '14 at 10:17 PM

A question I asked a while ago but nobody ever replied

https://answers.unrealengine.com/questions/42586/pinch-to-zoom-with-touch.html

I imagine you can do it through logic in blueprints but I was never able to get it to completly work. I might eventually create it in c++ but blueprints should be able to do this easier.

avatar image kingkeoua May 24 '14 at 11:05 PM

Yeah I'm trying to solve this using blueprints. I do not fully understand Finger Index yet but if each finger touching is assigned to an individual Finger Index, this becomes very simple. I should probably test this theory since there doesn't seem to be any information on multiple touch inputs.

avatar image mikesdav May 25 '14 at 01:40 PM

Yea I was able to get things to sorta work through some complicated blueprints but it is so buggy. You can do it with blueprints, there are several nodes you can use to interface with touchscreen.(I used GetInputTouchState) then I found out the distance using the distance formula between the location of two touches , multiplied it accordingly, inverted it, then the rest is broken but I added it to the current z axis of the camera or pawn. I will try to post a complete solution when I get somthing that works correctly.

avatar image shimozurdo Dec 01 '15 at 02:40 PM

Hello, could you solve this? :(

(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