-
array[value, value] to control rotation [layer#1, layer#2]
(I actually have 36 graphic objects, but for the sake of simplicity, let’s say that … )
… I have 4 objects, each on their own layer.
I want to rotate the them to make graphic patterns.
How to make a script that tells layers #1, #2, #3, #4
to rotate to array values [1], [2], [3], [4], respectively.
So I would have f.ex. these arrays:
flowerArray = [45, 135, 225, 315];
boxArray = [0, 90, 0, 90];
How to make this happen (?):
At keyframe 50, rotation is defined by flowerArray:
Layer#1 rotates to 45°
Layer#2 rotates to 135°
Layer#3 rotates to 225°
Layer#4 rotates to 315°
At keyframe 100, rotation is defined by boxArray:
Layer#1 rotates to 0°
Layer#2 rotates to 90°
Layer#3 rotates to 0°
Layer#4 rotates to 90°