ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: How to Bezier Path with no keyframes ?

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Oleg Pirogov
Re: How to Bezier Path with no keyframes ?
on Jan 7, 2019 at 10:30:56 am

Since CC 18 you can directly access path nodes and their tangents in a manner like this:

comp("Comp").layer("Shape Layer").content("Shape").content("Path").path.points()[i] = [666, 666]
comp("Comp").layer("Shape Layer").content("Shape").content("Path").path.inTangents()[i] = [1, 0]
comp("Comp").layer("Shape Layer").content("Shape").content("Path").path.outTangents()[i] = [0,1]

Those "linear" nodes of yours are nodes with no tangent handles i.e. with In Tangent and Out Tangent both equal [0,0]. Changing those to something different than [0,0] will give you a Bezier curve.

Hope this helps you one way or another.


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]