Skip navigation
Currently Being Moderated

How to wiggle XYZ dimensions separately for Anchor Point

Nov 9, 2011 9:07 AM

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!

 
Replies
  • Currently Being Moderated
    Nov 9, 2011 10:09 AM   in reply to Toomany3

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 9, 2011 5:01 PM   in reply to Toomany3

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 9, 2011 9:01 PM   in reply to Toomany3

    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]]
    
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points