I’ve do some progress in this script, but I have a lot of problems…
Honestly, is my first script :).
Anyway, at the moment problem is:
I have one layer, with two effects on it.
Then, I have a second layer.
Now, in the first layer, the second effect use an expression to get his position: this expression is an interpolation of some values pitched from the first effect.
My problem is that I want to take the final values of this expressions and use them to set the position of the second layer.
I’ve tried a lot of variation (hundreds, tons of hundreds :(, gazillions of tons of hundreds ), and nothing works…
I don’t understand why something like this doesn’t work:
myPosition = firstLayer.effects.secondeffects.position;
secondLayer.position.setValue(mytime,myposition);
I think, in my trial, I’ve got every single possible error message.
🙁
Any help is really appreciated….