then on the “Path Percent” “Slider” I have this to control spacing and offset along the path
f = index*thisComp.layer(“OFFSET”).effect(“FACTOR”)(“Slider”);
f + thisComp.layer(“OFFSET”).effect(“OFFSET”)(“Slider”);
So this rig has allowed me to position the people on the perimeter of my logo shape (which is defined by the PATH) and control the space between them with the FACTOR.
Thanks guys for your help but none of those seem to do what I wanted.
I wound up using this which I cobbled from a the same question I realized I posted many years ago
w = wiggle(4,200) – value;
value + [value[0],-Math.abs(w[1])]
It kept my wiggle in the Y axis from dropping below the layer’s original y start point but when I apply it the layer’s x shifts so I have to relocate along the x axis. I guess that is from adding value + before the [value[0],
z is not affected I guess because it isn’t mentioned in the array?
Any idea how to rewrite this so I can leave x and z dimensions alone.
The next thing I would like to do is be able to add an expression to scale so that when I scale the layer it’s lower edge will always touch the floor.