-
Position point to rotation value
Hi again,
I found this code from mr.Dan, that calculate point position to rotation.
Here is my situation, “OtherComp” sized 1920×1080.
animated keyframe x 0 to another keyframe x 1920i would like to link this point i to ccsphere y rotation, but it cant get it rotate at last key point.
it give only 114.6 degree. it rotate not end to end. 🙁Thank you.
madliman
x = comp("OtherComp").layer("line").effect("Write-on")("Brush Position")[0] /// X=0,Y=540
360*x/(Math.PI*width)