-
offset normalize by angle control expression control
I’m using Mr. Ebberts’ great expression to extend a vector (for a corner pin effect):
myTrack = thisComp.layer(“tracked layer”).motionTracker(“Tracker 1”)(“Track Point 1”).attachPoint;
otherTrack = thisComp.layer(“tracked layer”).motionTracker(“Tracker 2”)(“Track Point 1”).attachPoint;
s = effect(“Slider Control”)(“Slider”);
v = normalize(myTrack – otherTrack);
myTrack + v*sI was wondering how to offset the normalized vector if I added an Angle Control to the layer, in other words, if I wanted to still extend the vector but offset by an angle of n degrees.
thanks for your help, pdebster