-
expressions- translating back to 5.0
hey all-
I’m on a job site where we are trying to use complicated expressions on an additional computer that only has AE 5.0.
I’ve gotten by mostly by replacing Caps with lowercase, and adding an underscore here and there. But this one stumps me:
delta1=position-thisComp.layer(“rf”).position;
delta2=position-thisComp.layer(“sm”).position;ang1=radiansToDegrees(Math.atan2(delta1[1],delta1[0]));
ang2=radiansToDegrees(Math.atan2(delta2[1],delta2[0]));
rotation=ang2-ang1;if ( (time>outPoint) || (time < inPoint)) rotation = 0; ------ the error I get is: Class