• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to wiggle XYZ dimensions separately for Anchor Point

Participant ,
Nov 09, 2011 Nov 09, 2011

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!

Views

24.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Nov 09, 2011 Nov 09, 2011

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.

Votes

Translate

Translate
LEGEND ,
Nov 09, 2011 Nov 09, 2011

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 09, 2011 Nov 09, 2011

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2011 Nov 09, 2011

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 09, 2011 Nov 09, 2011

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2011 Nov 09, 2011

Copy link to clipboard

Copied

LATEST

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]]

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines