Page 1 of 1

how to use LoopOut with smooth?

Posted: November 8th, 2012, 2:55 pm
by yogert909
Hi, Does anybody know how to use these two methods together? I often need to use both of them but I never take the time to figure it out.

Basically what I have is a a tracker which has gone off the screen and the track is a bit noisy. I would like to smooth the keyframes a bit with smooth and also use loopOut("continue") to continue the animation off the screen.

Thanks
Adam

Re: how to use LoopOut with smooth?

Posted: November 8th, 2012, 6:05 pm
by Paul Tuersley
I don't think you can use both together but you could apply one, then use Animation > Keyframe Assistant > Convert Expression to Keyframes to bake the result before applying the other.

Re: how to use LoopOut with smooth?

Posted: November 8th, 2012, 7:20 pm
by yogert909
Thanks for the quick response!

Too bad we can't use these in combination. I guess we can't combine loopIn with loopOut either... Oh well.

Thanks again,
Adam

Re: how to use LoopOut with smooth?

Posted: November 8th, 2012, 7:30 pm
by Paul Tuersley
Actually you can.

Code: Select all

if (time < key(1).time) loopIn("continue");
else loopOut("continue");

Re: how to use LoopOut with smooth?

Posted: November 8th, 2012, 8:40 pm
by yogert909
Oh! That makes sense. Awesome. That will come in really handy. I tested a similar approach and this seems to work reasonably well for what I was trying to do:

Code: Select all

if (time == nearestKey(time).time) smooth(.2,5,time);
else loopOut("continue");


Thank you!!