-
Adding wiggle to an array
Hi Everyone,
I am using particular to create a stream of particles following a light named “Emitter” generated from c4d.
I have the below expression placed on the Position XY of my particular emitter so it follows the light called Emitter. I know there’s a setting for this in particular but I want more flexibility down the line.
posx = thisComp.layer(“Emitter”).transform.position[0];
posy = thisComp.layer(“Emitter”).transform.position[1];
[posx, posy];My question is: I want to now add a wiggle expression to both posx and posy separately. Everyway i try to do this, it forgets the array values generated by the (“Emitter’) coordinates and reverts back to its original coordinates.
All I want to do is ADD the wiggle value onto the x and y value being generated form the (“Emitter’) values.
I know I can do this with nulls but I want to contain it within this one expression so I can duplicate up the layer and each layer have random wiggle values.
Many thanks in advance.