I have a feeling that what I’m trying to do is impossible, but I’m gonna give it a shot…
I’m creating lower 3rd comps with a spray paint effect, complete with paint drips (drip1, drip2, etc).
The hierarchy looks like this:
Main comp > L3 comp > Drip1, Drip2, Drip3
The L3’s are rotated at different angles depending on the shot they are placed over. The problem is I want the drips to go straight down no matter what the angle of the L3 is.
I figured out a way to change the angle of the drips with expression controls on a control null in the main comp. It does what I want it to do, but is not very flexible because I have to use names to make it work. Since I have a ton of different L3’s, this is not very efficient.
I could also use a control null inside the L3. Rotate the L3, then go into the L3 comp and change the angle on the control null, but again, not very efficient with the number of L3’s that I need to create.
What I would really love to do is use the angle of the parent comp to control the angle of the drips. So if my parent comp is rotated 14 degrees, all the drips in the nested comp would rotate -14 degrees. If I change it to -8 degrees, the drips change to 8 degrees.
Something like this on a drip’s rotation:
I’m aware that won’t work, but that’s the idea of what I want to happen.
Or it could go the other way. If I could use an expression on the L3 to find the rotation of the L3 and then tell the drips inside that L3 to rotate (L3’s rotation)*-1.
Is there any way to do this without having to use actual names?
That’s really still the same problem. An expression can only control the property to which it’s applied, so you’d still need an expression on the drip layer to actually do the rotation, and it would have to get that value from the L3 comp, but could only do that by accessing the L3 comp by name.
My solution is to use a slider on a null layer inside the L3 comp to control the drip angles. It works fine, I just have to take the extra step of going inside each L3 and adjusting the angle of the drips. I was hoping for something more automatic but I guess sometimes you just gotta do it the hard way. 🙂