-
Y position drives xScale and opacity
Hi all,
I hope this finds you well, given the circumstances.
I’ve done some searching and haven’t found a solution on my own. Hoping someone with deeper knowledge can help.
I have an animation setup for an Elephant (thank you Creation Effects for the great AE project!) and I’m adding a shadow to match the movement I’ve keyframed.
What I’d like to do is use the Y position of the end of the trunk (I have this value from the Elephant animation controls) to drive the shadow layer’s opacity and XScale.
Opacity would be highest when the end of the trunk is closest to the ground (highest Y position value), and Xscale largest when the end of the trunk is farthest from the ground (lowest Y position value).
That way, when the trunk is hanging straight down and close to the ground, the shadow will be more compact and darker, and when the trunk is raised up, the shadow will be more spread out and lighter.
