Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: cb on August 17, 2012, 10:32:26 AM
-
I've spent the last 3 days trying to get a simple multi-touch Playmaker scene working and have failed. I've looked into this and will have one last attempt at it, I've seen one user say that you can split the touch screen into separate rectangles and check if the touches have occurred there...still not sure if that will distinguish between two separate fingers though. Also filtering when the Touch Count value=2...but same problem in making the device realise there are two separate touches happening on two separate objects, i.e NOT a 2-finger Drag.
I also use Finger Gestures but that doesn't help, so whether using FingerGestures or Playmakers Touch Actions I cannot achieve this!
Jean, you are the master of creating ACTIONS..please, when you get the time could you create a simple Playmaker scene/FSM that:
Has TWO cubes, one at far left and one at far right of the screen.
Allows you to simply rotate a Cube when the user holds their finger on it.
Rotates BOTH Cubes when BOTH are touched simultaneously with two separate fingers.
If this is done I will keep the action on standby for every app I make, and praise your name for all eternity !!!
Yours hopefully,
cb
-
Hi,
allow me few days, Unite is next week, so get back to me the week after if I did not get back to you before.
bye,
Jean
-
That would be great Jean. Would really appreciate this.
-
could anyone update on this topic .....
as I am facing the same problem .....
-
Hi,
you need to use a touch object action,
and set use touch began as the event.
make an int variable and use it in "set finger id"
this will give an id number when you touch
on the other touch actions you can set the variable as finger id
here is a sample :
(http://s27.postimg.org/rdz75a4oz/Touch_Cube_Setup.png)
make a cube and copy this on the cube then you can copy the cube together with the fsm
there is a custom action on the EcoSystem (https://hutonggames.fogbugz.com/default.asp?W1181) that works better,
when you slide of the cube it will send "Touch Canceled" event properly.