How To Animate Square Characters With Expressions

Avatar AE Tips And Tricks | October 28, 2016

0 Ratings Rate it

Tutorial by: School of Motion

From the instructor:

Expressions from this tutorial (Copy Paste)

BAdjustY Null – Y Position:
// Get Box Dimension

boxD=thisComp.layer("BCTRL_01").effect("Box_Size")("Slider");

b=boxD/2;

// Get Box Null Y-Position

bNullY=thisComp.layer("BCTRL_01").position[1];

// Define Corners

tl=[-b,-b];
tr=[b,-b];
bl=[-b,b];
br=[b,b];

// Convert to Comp Space

tlc=thisComp.layer("BRotate_01").toWorld(tl);
trc=thisComp.layer("BRotate_01").toWorld(tr);
blc=thisComp.layer("BRotate_01").toWorld(bl);
brc=thisComp.layer("BRotate_01").toWorld(br);

// Grab Y-Values

tly=tlc[1];
trighty=trc[1];
bly=blc[1];
bry=brc[1];

// Find the highest value (lowest position)

maxY = Math.max(tly, trighty);
maxY = Math.max(maxY, bly);
maxY = Math.max(maxY, bry);

bNullY-maxY
BAdjustY Null – Y Position:

BRotate Null – Z Rotation
startPoint=thisComp.layer("BStart_01").position[0];
endPoint=thisComp.layer("BCTRL_01").position[0];
boxD=thisComp.layer("BCTRL_01").effect("Box_Size")("Slider");
d=endPoint-startPoint;
(d/boxD)*90;
BRotate Null – Z Rotation

Join our mailing-list : schoolofmotion.com/newsletter/
-----
Twitter : twitter.com/SchoolOfMotion
FB : facebook.com/schoolofmotion
schoolofmotion.com/
-----
Sponsored by The Department of Motion Design @ Ringling College of Art & Design, the best Motion Design program in the country. Check 'em out! bitly.com/MDatRCAD
Ringling is also sponsoring an amazing contest to get your work in front of Ringling faculty, win a free animation lesson, and get tons of eyeballs on you and your work. Find out more here: schoolofmotion.com/30dae_contest/
-----
For full notes and linked assets, go to:
schoolofmotion.com/project/30dae_19_rollcuberig/

 

 


 

 

Motion Tutorials Weekly

Subscribe to get a weekly list of the best free motion tutorials from the web.
Because Free Is Better!