-
pendulum swing at start of layer
Hi All,
This should be easy but I can not get this work. I am using the below expression to get a layer (pre comp of a few layers) to swing with decay (you know Dan’s old pendulum with decay, or slight modification of it).
The expression makes the layer swing with decay but only at the start of the master composition. I can not off set the layer to start later in the composition, say at 30 seconds in. From my understanding the “startT = thisLayer.startTime” should take care of that.
Here is a screen shot to help explain what I am talking about.

Not that is should matter but I am using CS5.5.
What am I doing wrong? Any help would be greatly appreciated.
Cheers,
jeffveloc = 7;Â
amplitude = 90;
decay = .7;Â
startT = thisLayer.startTime;amplitude*Math.cos(veloc*(time-startT))/Math.exp(decay*time)
variable force, inc
video production/motion graphics durham, nc