Copy link to clipboard
Copied
I need to wiggle my anchor point with different settings on each axis. How can I do this?
I want the following:
for x: wiggle(1,1000);
for y: wiggle(.1,1000);
for z: wiggle(100,2);
Can't seem to figure out how to split the axis up.
Thanks!
You can split out the X, Y & Z POSITION properties individually:
http://help.adobe.com/en_US/aftereffects/cs/using/WSB9C92251-D2B9-49de-8B7E-EE981AD17522.html
That doesn't help with the anchor point, but you can work round that by parenting the layer position to a 3D null... which just happens to have the same position as the layer before doing the parenting.
You can then wiggle layer position, and animate the null's position if desired.
Copy link to clipboard
Copied
You can split out the X, Y & Z POSITION properties individually:
http://help.adobe.com/en_US/aftereffects/cs/using/WSB9C92251-D2B9-49de-8B7E-EE981AD17522.html
That doesn't help with the anchor point, but you can work round that by parenting the layer position to a 3D null... which just happens to have the same position as the layer before doing the parenting.
You can then wiggle layer position, and animate the null's position if desired.
Copy link to clipboard
Copied
Got it! Thanks! Makes sense. I've broken up XYZ everywhere else, just couldn't here. Glad to know I wasn't missing something. Thanks, Dave!
Copy link to clipboard
Copied
All you're missing is the array:
x = wiggle(1,1000);
y = wiggle(.1,1000);
z =wiggle(100,2);
[x, y, z]
or you can break out each axis. Either works.
Copy link to clipboard
Copied
Rick Gerard wrote:
All you're missing is the array:
x = wiggle(1,1000); y = wiggle(.1,1000); z =wiggle(100,2); [x, y, z]
or you can break out each axis. Either works.
Hmm... I was trying to work on an array at first, but it kept breaking. What more do a put in the expression to get it to work? Right now this isn't totally complete.
This is the route I'd rather go than have a bunch of nulls, if possible.
Thanks for your help!
Copy link to clipboard
Copied
OOPS! forgot to put in the x, y, and z values. Make the last line
[x[0], y[1], z[2]]
That's what I get for answering from my iPhone...
Final expression looks like this;
x = wiggle(1,1000);
y = wiggle(.1,1000);
z =wiggle(100,2);
[x[0], y[1], z[2]]