Can't use thisComp in a path on parented text. How can I overcome this?
I want to rotate three words around a null object. Easy. Parent the words to the null and hit one rotation property. Then, apply this "value - parent.transform.rotation" on each word's rotation to keep them upright.
I then wanted to make it look better by having lines between the words. The points of each line are references using thisComp to point to the words as shown below:
p1 = thisComp.layer("Word1").position;
p2 = thisComp.layer("Word2").position;
pts = [p1, p2];
createPath(pts, inTangents = [], outTangents = [], isClosed = false)
This does not work because the expression can't use thisComp to connect the lines. This is because the line points then go to 0,0, which is what the anchoring values become when parented to the null. Now I need a better configuration or expressions to make it work with just a null, three words and three lines. I am trying to create a fluid triangle shape based on the layer's position but only needing one rotation property to the keyframe instead of keyframing each word's positions and making non-uniform triangles.
