you could also use an expression for position of the ‘cars’, leaving rotation completely uneffected:
radius = 100;
period = .5; // number of rotations per second
num = 6; // number of layers to rotate
i = index;
x = value[0];
y = value[1] + Math.sin(2*Math.PI*(period*time+i/num)) * radius;
z = value[2] + Math.cos(2*Math.PI*(period*time+i/num)) * radius;
[x,y,z]
the layer will rotate around its position, ie, if its initial position is [-540, 860, 0] it will rotate around that point. set num to the number of ‘cars’ that will rotate. the expression assumes that the the top most layers are the ‘car’ layers, change i to a unique fixed number between 1 and num, ei, if you have 5 ‘cars’ the value for i could be 1, but no other ‘car’ layer could use 1, so the next ‘car’ would be 2, the next 3 and so forth.
Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW