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
Graham Quince
February 20, 2021 at 3:50 pmHi,
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?
Dan Ebberts
February 20, 2021 at 4:44 pmThis should work:
w = wiggle(15,400);
[w[0],w[1],value[2]]
Graham Quince
February 20, 2021 at 5:06 pmBrilliant – thank you!
Viewing 1 - 3 of 3 posts
Log in to reply.