-
Target “other properties” for an keyframe easing script.
Hi all,
So I’ve created easing script that can ease all properties rot,sca,pos,opa. But How do you “target” the “effect properties” and other special ones.
eg this is my rotation:
var rotmod = activeLay.layer(p).property(“Rotation”); // rot layer module of active
var curRotKeyIn_in = activeLay.layer(p).rotation.keyInTemporalEase(r)[0].influence;
var curRotKeySp_in = activeLay.layer(p).rotation.keyInTemporalEase(r)[0].speed;
var curRotKeyIn_out = activeLay.layer(p).rotation.keyOutTemporalEase(r)[0].influence;
var curRotKeySp_out = activeLay.layer(p).rotation.keyOutTemporalEase(r)[0].speed;
var uniEaseRot = new KeyframeEase(0,(curRotKeyIn_in += 70));
var uniEaseRot = new KeyframeEase( 0 ,(curRotKeyIn_out += 70));
rotmod.setTemporalEaseAtKey(r,[uniEaseRot],[uniEaseRot])
Sorry, there were no replies found.