AE Production Suite CS6, HP z820, Win 7
I used the puppet mesh to create 4 points on a mermaid tail and then two more at either fin tip. each pin is tied to a null layer
n=thisComp.layer("Fin L Tip")
nullpos=n.toComp(n.anchorPoint);
fromComp(nullpos);
and then I parented the layers from the tips to the center of the tail. I want to animate a tail wag. all tied to a single slider.
Each of the lower 4 pins is controlled with this expression picwhipped to "rotation":
thisComp.layer("Controls").effect("Tail Wag")("Slider")
and seems to work fine.
But the tips of the tail I want to have go in the opposite direction of the general tail wag using the position fields. When tried this expression:
PosX=transform.position[0]-thisComp.layer("Controls").effect("Tail Wag")("Slider")*1.2;
PosY=transform.position[1]-thisComp.layer("Controls").effect("Tail Wag")("Slider")*-.2;
[PosX,PosY];
it worked as long as all the other expressions were turned off. But when they are turned on, the tail simply follows the general "wag" and does not respond to the espression.
What I'd like the tips of the fins to do, is follow the general movement of the tail but allow me to add movement as well.
jeff