hi hi
I just found this while looking for something else but it helped me a great deal with another project.
I had a question though. I have all my cogs, chains and wheels on one layer. but I dont know the expression to piont to the path name within my layer. Several paths are on one layer (as your suggestion in this thred – thought id try give it a go).
Is there a simple script for this or am I way off the mark. I’m new to scripting but trying to get a handle on it.
My back wheel is driving my wheels. The script for my back cog is:
r=thisComp.Layer(“Back wheel”).transform.rotation; circ=Math.PI*142; value + ((r/360)*circ);
The expression will not work as I think it’s pointing to the layer and not the PATH within the layer.
I thought it would work by changing:
r=thiscomp.layer
to: r=thisLayer
but I had no luck
Any ideas or did anyone ever get this to work?
Help is greatly appreciated. thanks a mill.
shane.