-
X Swinging Expression Modification
amp=50; freq=2; / decay=2; // find previous marker n = 0; // if (marker.numKeys > 0){ n = marker.nearestKey(time).index; if (marker.key(n).time > time){ n--; } } if (n > 0) t = time - marker.key(n).time else t =0; a = amp*Math.sin(freq*t*Math.PI*-2)/Math.exp(decay*t); aCan someone help me modify this expression so I wont have to “Split” the layer.
Im wanting to retain my Keyframed values. Adding this expression sets it back to 0 degrees. I usually split the layer right as the 2 keyframe lands in its final postion and add the trigger to that layer..