-
create a path with expressions and use methods like pointOnPath
Hi forum
How can I create a path with expressions and use methods like pointOnPath etc. later within the same expression?
For example this expression on the source of a textlayer doesnt output [0,0] as expected. It outputs the middlepoint of the original path.originalPath = thisComp.layer(“Pathlayer”).content(“Form 1”).content(“Path 1”).path
correctedPath = originalPath;
correctedPath.createPath([[-100,0] , [100,0]] , [] , [] , originalPath.isClosed());
correctedPath.pointOnPath(.5,time);Any ideas?
Thanks so much.