Hey,
it works like a charm, so thank you a thousand fold!!
I am relatively new to expressions, and math is the bane of my existence. ?
I even got it changing value over time, so the capsule slowly spins inward toward the sun (which is what is happening to it).
For those interested, the expression now looks like this: (the more time, the smaller the radius gets)
t = time;
radius = 148 – t;
angle = time * 40;
x = radius * Math.cos(degreesToRadians(angle + 180));
y = radius * Math.sin(degreesToRadians(angle + 180));
z = 0;
centre = [573, 373.5, 0];
add(centre, [x, y, z]);
The Angle part of this expression, after I changed the length of the comp to 3mins, now determines the angle (sort of) at which the capsule is plummeting towards the sun. So, if I change the value of angle = 12 to angle = 40, the capsule takes longer to hit the sun, if I change it to angle = 2, the fall is much steeper. The capsule still hits the zero point at around 2:30, no matter the value of angle.
Thanks again, Flo
motionkontor.de