Forum Replies Created

  • Romain Cousin

    October 22, 2016 at 10:25 pm in reply to: How to target a property on an effect

    Ok!

    Sorry I do not have the code on this computer, but basically I want to random the selected properties. The expression are linked to a pseudo effect (I created different pseudo effect based on the length of the property) and I do not have the same expression for “numbers” properties and colors for example.
    For 3 dimensionnal properties I have 6 sliders :
    minX, minY, minZ, maxX, maxY, maxZ
    but for one dimensionnal property i only have a “minimum” and a “maximum” sliders.


    Freelance motion designer http://www.romaincousin.fr

  • Romain Cousin

    October 22, 2016 at 9:59 pm in reply to: How to target a property on an effect

    Thanks a lot, exactly what i needed!

    I had already noticed a bug with my old code and i get the same result with yours, but the layer position property gets 3 dimensions (on a 2D layer)… Do you have an explanation? It’s not a big deal but it’s weird…


    Freelance motion designer http://www.romaincousin.fr

  • Romain Cousin

    October 22, 2016 at 8:29 pm in reply to: How to target a property on an effect

    Thanks Dan, unfortunately I don’t know which properties users will select, Particular was just an exemple.

    I have to get the length of the values and then apply an expression depending on the length.
    The expressions are not the same on 1D, 2D or 3D values…

    As I said it works well on “layer properties” but not on “effect properties”. Is there a trick to get the value (and the length) of whatever selected properties?


    Freelance motion designer http://www.romaincousin.fr

  • Romain Cousin

    October 20, 2016 at 4:22 pm in reply to: How to link with relative values?

    Nice! I really need to learn how to use valueAtTime…

    Freelance motion designer :
    http://www.romaincousin.fr

  • Romain Cousin

    October 20, 2016 at 3:19 pm in reply to: How to link with relative values?

    I think you can write this expression on the position of your follower layer :

    thisComp.layer("NAME OF THE "PARENT" LAYER").transform.position+value;

    Freelance motion designer :
    http://www.romaincousin.fr

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy