Adobe After Effects Expressions Forum
Scaling with expression and then parent/child
Scaling with expression and then parent/child
by Andry Hamida on Mar 27, 2020 at 4:37:48 am

I want to create a scale animation like a comparison plandet video, it scale smaller as the new object bigger apear (follow parent), here the case

here is the link:
https://youtu.be/U_P9XKTPnxA

A size = 100%
---
A size = 60% (because it 40% smaller than the b)
B size = 100%
---
A size = 60% (parent to B, appear is 30% because it follow B scale down)
B size = 50%
C size = 100%
---
A size = 60% (parent to B, appear scale is 27,5% because it follow B scale down)
B size = 50% (parent to C, appear scale is 45% because it follow B scale down)
C size = 90%
D size = 100%
---
and so on

it works pretty well, i just copy the code from forum,
but as it scale down, it follow the parent anchor point

first, i want it to scale down on its on position
second, can i time it to start at the spesific second, like, B scale down at 6, C scacle down at 9, etc.
i already try action, start time, begin, etc doesnt work well

Thank you

startScale = 100; // percent of Scale at start
endScale = 5/10*100; // percent of Scale at end 5 is the size of the shape, 10 is the size of the parent

scaleUpTime = 3; // time to scale up from inPoint in seconds

s = linear(time,inPoint,inPoint+scaleUpTime,startScale,endScale);
[s,s]






© CreativeCOW.net