Hi,
I have setup a blink blendshape and would like to write an expression that makes the blink happen randomly every 8-15 secs in my animation. Does anyone know an expression that can do this? Please help. Thanks
Loked
Hi,
I have setup a blink blendshape and would like to write an expression that makes the blink happen randomly every 8-15 secs in my animation. Does anyone know an expression that can do this? Please help. Thanks
Loked
Well there are several ways of doing this. one would be to randomize a number then wait that amount of time then randomize again...
But this is computationaly abit uneffective. So i suggest you connect a noise function (which in turn is connected to time.) into a condition node and try to find a suitable ratio for such an effect (however ensuring that the blink happes 8-12 seconds appart is a bit hard).
But theres a trick you can try... you could use a common blink every 10 seconds. Except you feed the expression a custom time that advances at varied speed.
Hi,
Thanks for the reply, but do you think you could be a little more descriptive. Maybe you could actually write the expression or at least the basis of it. Thanks.
Loked