playMaker

Author Topic: Hello! Ask about Input.touches addons action question!  (Read 2603 times)

naktim0819

  • Playmaker Newbie
  • *
  • Posts: 44
Hello! Ask about Input.touches addons action question!
« on: March 15, 2013, 10:12:26 PM »
Hello! I want ask about Input.touches addons action question!
I need to do a pinch in 
but I really don't know what those action work
It all just Get  some thing info
No event detection?
So can I give some object a action maybe pinch then Event set up Finsh go other state?
I need first get the First poind, Second Poins , Magnitude, then use it to another action detection?

I do not know ,that I have misunderstood like pic ?

If it's like thak how I can get the Vector2's X &Y
becuse action just have Get Vector3's XYZ

Thanks u .

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Hello! Ask about Input.touches addons action question!
« Reply #1 on: March 18, 2013, 02:35:07 AM »
Hi,

 The first and second point are your fingers position, that's all there is to it actually.

So when pinching, you really only need the magnitude.

 What do you want to achieve? using finger position would only make sense if you want to check what's underneath the fingers and actually move objects as you pinch or something.

I am not too sure what you mean by vector XY, but if you seem to be missing actions for Vector2, I created a set of custom actions especially for this:

https://hutonggames.fogbugz.com/default.asp?W1004

bye,

 Jean

naktim0819

  • Playmaker Newbie
  • *
  • Posts: 44
Re: Hello! Ask about Input.touches addons action question!
« Reply #2 on: March 18, 2013, 11:19:38 AM »
Yes, I want to handle event
Increase in an object
Objects when he was my "pinch" after he will be put to lay down a period of animation
How can I let him detect into the next event.
Seems just detect gestures

But no one field can I fill my gesture is detected after the "send event" field to enter the next event
How do I advance his

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Hello! Ask about Input.touches addons action question!
« Reply #3 on: March 19, 2013, 01:38:14 AM »
Hi,

 you lost me :) can you rephrase? what I am not sure is if you have several object on screen, and you want the pinch gesture to detect on which object it should be applied.

 if that's the case, then you will need to do some raycasting to detect if and what object is under the pinch touches.

bye,

 Jean