-
Child layers follow null’s movement with delay.
I’ve been surfing the web, looking for an expression that I can use to have layers follow a null’s movement (while keeping each child layer in its relativeposition) but with a time delay. I’ve made this work perfectly with scaling and opacity, but I’ve have a tough time with position. The closest simple solution I’ve found is this:
delay = thisComp.layer(“Adjustment Layer 7”).effect(“Child Delay”)(“Slider”)
p = thisComp.layer(“Move”).transform.position
value + p.valueAtTime(time – delay*(index – 1)) – p.valueAtTime(0);The problem I have with this expression, is that I need the child layers to end their move at a specific spot. So, I place them there, set a keyframe there, and then set a keyframe at the start and move them off screen. But my child layers are offset. Here’s an example: Here’s an example of what I mean.
Is there a better expression that would allow the children to be controlled like when you link them to a null? For example, like this:
https://www.youtube.com/watch?v=zbSXz5Mwp-I
All the other expressions I tried would make the child layer move to the exact (x,y) position of the null as soon as I applied a time delay to the expression.
Sorry, there were no replies found.