-
Circle Expression
I am animating 2D a doughnut shaped wheel with a few pieces of text near the boundary of the wheel. I would like the text to remain level/legible while the wheel spins.
I am animating the rotation of the wheel using a null object, and am trying to parent the text to the null as well, while keeping the text leveled.
I am using the expression connected to this post for the position in my text layer, and another rotation expression tied to the rotation of the null to keep the rotation of the circle leveled.
I understand the circle expression enough to control the size and the speed. However, when I apply the expression to the position control of the text layer, it repositions the text and I cannot figure out how it determines this starting position. The position is along the radius of the circle, just not where It was at the beginning of the expression. Because the layer is parented, I cannot just reposition. And because the expression is applied, I cannot modify the starting frame position.
I would like to control the positioning of the text layer, the starting frame would be enough for my needs.
Is there a way to control the starting frame?
Or is there a line of code that would allow me to determine the starting position?
Can anyone help me control the starting position, or help point me in the right direction? Please let me know if there are any questions. Thanks a million if anyone can help.
([this_comp.width/1, this_comp.height/1],
[Math.sin(10)*100, -Math.cos(10)*100])