finger touch detection
ancch
Member, PRO Posts: 103
Hi All
If I have 5 fingers on the screen, touch x1y1 to touch x5,y5, each finger spawning a dot where the fingers are. What is the best way to tell which finger has been lifted so that I can destroy the appropriate dot?
Touch Count tells me how many fingers are still on the screen. But it does not tell me which fingers are still on the screen and which fingers have been lifted.
help!
If I have 5 fingers on the screen, touch x1y1 to touch x5,y5, each finger spawning a dot where the fingers are. What is the best way to tell which finger has been lifted so that I can destroy the appropriate dot?
Touch Count tells me how many fingers are still on the screen. But it does not tell me which fingers are still on the screen and which fingers have been lifted.
help!
Comments
Playing with iDevices it looks like the touch # stays assigned to the finger as long as you don't lift it. For example if you put down 4 fingers and lift the first 2, the remaining 2 stay touch as touch 3 and 4 even though they are the only ones.
That should get you half way home. You may have to play with some constrained global attributes to keep the touches connected to your actors.