Dan Ebberts' Pendulum expression

Moderators: Disciple, zlovatt

Post Reply
lukelucente
Posts: 1
Joined: March 13th, 2009, 7:10 am

Hi
I'm having troubles with this Dan Ebberts' Pendulum expression

Apply the following expression to the rotation property of the rectangular solid:

veloc = 7;
amplitude = 80;
decay = .7;

amplitude*Math.sin(veloc*time)/Math.exp(decay*time)


I paste it in the Z rotation of a 3D layer and nothing happens...what am I doing wrong?

Thanks!

pd. sorry my bad english
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

Possibly your layer's In Point is not at time = 0;

Try it this way:

veloc = 7;
amplitude = 80;
decay = .7;
t = time-inPoint;
amplitude*Math.sin(veloc*t)/Math.exp(decay*t)


Dan
Post Reply