-
Inertia per character 3d
Hi all!
I have found an exellent inertia expression but I don’t know how to apply this to the per character 3d in the text properties.
What I am looking for to achieve is to have my text charactes swing in one by one from +90 on the X with the anchor point in the bottom of each letter and have them swing a bit untill they finally comes to rest.As for now I have used my expression on the “amount” in the expreesion selector for the X value but it only works on the whole word and not for the separate characters.
Any ideas how to achieve this?
/Husse
n = 0;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time){
n--;
}
}
if (n == 0){
t = 0;
}else{
t = time - key(n).time;
}if (n > 0){
v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
amp = .05;
freq = 4.0;
decay = 2.0;
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
}else{
value;
}