contact analysis on pad

Discuss Lemur and share techniques.
Post Reply
oran-outan
Newbie
Posts: 39
Joined: 18 Dec 2011 17:30

contact analysis on pad

Post by oran-outan »

hi
i like to apply a behavior on pad...
when i touch a pad a counter run ::: if i touch the pad (-1-) start the counter, if i take out finger, pad value come back to 0, but counter stay to his last value (go back 0 when i touch it again). this is a standard behavior...

i would apply ::: if i stay more than 3 sec in contact the pad stay in 1 when i take out my finger. after, if i touch it again the pad come back on 0.

the counter run good... and try lot of stuff for the behavior but don't run good... i don't find the way...

i have do (on expression )

if (pad.x ==1)
{
if (pad.x== 1 && counter >= 3.)
{
pad.x = 1 ;
}
}

else (x = pad.x );

i also try to do with an internal function but not good...
i 'm lazy with script...
if anyone have an idea to how make it ?

in link the template

thanks & best
0-0
Attachments
padTimer.jzml
(4.73 KiB) Downloaded 79 times
Post Reply