-
Add decay (inertial bounce) to a referenced
Hi all,
I have been searching everywhere but can’t find a solution. Basically I want to do this…
I have a character with a lazy eyeball. When I move the eyeball around I want the eyeball to rotate/roll around in the socket a bit. So I have the eyeball position animated. I have the eyeball parented to a null layer that will rotate/roll the eyeball around depending on how speed of the movement. I have worked this part out but I want to add decay to the rotation property but can’t seem to get it right. Can someone help me plug the values I am getting for the rotation so that the ‘decay’ over time to a stop…
Thanks in advance,
Bradp = thisComp.layer("Eyeball").transform.position.speed;
max = 200 ;
min= 0;
r = p < 0 ?linear(p, max, min, -50, 0) : linear(p, min, max, 0,50);** this is where is need 'r' to decay