Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Is this the best way – wiggle in 2 dimensions only

  • Is this the best way – wiggle in 2 dimensions only

    Posted by Graham Quince on February 20, 2021 at 3:50 pm

    Hi,

    I’m using a 3D Null object to lead a particles from CC Particle World and I want to wiggle in the X and Y dimensions only. If I just use wiggle() it will also alter the Z position. Normally not an issue, but CC Particle World doesn’t seem to cope well with particles in the space space.

    In short, I’m trying to create the appearance randomness, while at the same time keeping the particles separate.

    I’ve come up with this solution:

    X = wiggle(15,400)[0];

    Y = wiggle(15,400)[1];

    Z = value[2];

    [X,Y,Z]

    But is there a more efficient way?

    Graham Quince replied 2 years, 7 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    February 20, 2021 at 4:44 pm

    This should work:

    w = wiggle(15,400);

    [w[0],w[1],value[2]]

  • Graham Quince

    February 20, 2021 at 5:06 pm

    Brilliant – thank you!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy