Author Topic: iPad MultiTouch Sample Project?  (Read 3108 times)

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
iPad MultiTouch Sample Project?
« on: August 31, 2011, 09:25:54 AM »
Looking for a sample project that uses MultiTouch on iPad, where several objects can be touched with several fingers, and all do their own state change.

I guess this requires something with Touch, Raycast, and storing all the finger touch positions in separate variables. But it's totally confusing to me so far, and I was hoping this was only requiring a simple action, like "This object is being touched", "Touch began", "Touch ended", and such.


  • 1.2 Beta
  • Full Member
  • *
  • Posts: 188
    • View Profile
    • Permaximum Betty
Re: iPad MultiTouch Sample Project?
« Reply #1 on: September 01, 2011, 08:27:36 AM »
You need only keep track of the finger_ID.
Then you can use that in the actions and have MultiTouch.
So Basically you save the finger_ID when you check the touch event for the first time.
Then using this ID on the action.
When you touch the screen with one more finger you get an new finger_id.


  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Official Playmaker Support
    • View Profile
Re: iPad MultiTouch Sample Project?
« Reply #2 on: September 01, 2011, 08:41:32 AM »

 The best starting point to understand how you deal ( one way at least) with touch is the sample provide by Unity on their website assets section. Really helpful