how to use LoopOut with smooth?

Moderators: Disciple, zlovatt

Post Reply
yogert909
Posts: 10
Joined: April 10th, 2006, 4:52 pm
Location: los angeles

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
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

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.
yogert909
Posts: 10
Joined: April 10th, 2006, 4:52 pm
Location: los angeles

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
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

Actually you can.

Code: Select all

if (time < key(1).time) loopIn("continue");
else loopOut("continue");
yogert909
Posts: 10
Joined: April 10th, 2006, 4:52 pm
Location: los angeles

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!!
Post Reply