Multiple Finger Iterator

scalf's picture

I am trying to make a composition that can handle multiple fingers on multiple devices. It will have buttons and zones that will cause interactions and triggers. So instead of making a separate hit test for every finger by hand, I am trying to use the example "multi-touch fingerpaint" as a way to test this.

Since there is only one sprite in the iterator that renders as each finger, I tried to use the incoming x and y to trigger a hit test for all fingers that could be fit on the pad.

The hit test would trigger, however only the lead or most recent finger would be able to trigger the hit test.

Does anyone have an idea on how to make it so every finger that was registered could trigger a hit test using an iterator to reduce the patchwork involved to track say 10, or 15 fingers at a time.

Also, you need the kineme multitouch patch for this

PreviewAttachmentSize
Multiple Hit Test.qtz55.36 KB