PlayMaker Help & Tips > PlayMaker Help

Touch Object or Mouse Down?[SOLVED]

(1/1)

lucaderiu:
Hi,
i'm porting my tests with Unity and PlayMaker on iPad and i noticed that MouseDown works fine as transition event (and is fast to setup) then I tried with Touch Objects Event and the result is also good.
Now practically I understood that both of them can be used on iPad and this is great.
I moved more in depth for multi touch and I discovered the difference: Touch actions supports multitouch while MouseDown doesn't.
In my case I need to activate FSM for 2 different meshes that must be touched at the same time and my problem is that i can activate one OR the other, but never both. Touch Actions have finger Id and from what I understood in this forum and on videos it must be assigned to the touch number. But my question are:
How can I activate 2 object touching them at the same time but independently from the finger id?
And also, what about if the player puts 10 fingers on iPad like I did: the FSMs were stucked :) is that normal?
Thank for your help this can help me to interact with multiple elements in the same time, no matter which is touched first.
Luca

lucaderiu:
as you can notice close to my name there is written "newbie" that perfectly describe my status :)
I update just in case someone would be in my situation
I solved the problem inserting a pre-check of the touch to get the finger_id and then I assigned that id to the Touch Event (as private variable).

jeanfabre:
Hi,

 yes, use the fingerId for future reference when you play with multi touch, this is the right way to go.

bye,

 Jean

Navigation

[0] Message Index

Go to full version