ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

toCompVec([0, 0, 1])[2] problem, maybe CC2018??

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
leif falk
toCompVec([0, 0, 1])[2] problem, maybe CC2018??
on Nov 3, 2017 at 11:01:30 am

Hi
I am trying Dan Ebberts simple
toCompVec([0, 0, 1])[2]
Expression, but I always get the error message: Layer To Comp-Matrix cannot be converted in ToCompVec.
What could be the problem, maybe a CC2018 bug??

Thanks for any help..


Return to posts index

leif falk
Re: toCompVec([0, 0, 1])[2] problem, maybe CC2018??
on Nov 3, 2017 at 11:10:31 am

I found that one in another thread, but it doesn´t help. No scale animation involved in my case.
if ((Math.abs(scale[0]) > 0.01)&&( toCompVec([0, 0, 1])[2] > 0 )) value else 0


Return to posts index

leif falk
Re: toCompVec([0, 0, 1])[2] problem, maybe CC2018??
on Nov 3, 2017 at 11:29:09 am

OK, no help needed anymore, i got it.
there was a parent which scaled to zero in the end of the comp. So if this is the case write something like "parent.scale" instead or just scale not to zero but 0.001 and then blend the layer out.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]