Forum Replies Created

  • Tord-øystein Stubberud

    June 19, 2018 at 12:17 pm in reply to: Clamp expression on a child layer?

    Hi again! I now had a chance to try this expression out on a project, and although it works perfectly for what I described earlier, I now see that I forgot to add an important detail earlier. The child layers (in this case NULLs) also has to ignore the rotation of the parent layer. Right now, when I rotate the Parent, the child layers rotate around the parents anchor point. Is there a way to ignore the positional displacement that comes from rotating the parent layer? (I hope im making sense here…) Anyway THANKS!

    p = toComp(anchorPoint);
    yClamp=clamp(p[1],0,890);
    parent.fromComp([p[0],yClamp])

  • Tord-øystein Stubberud

    June 5, 2018 at 7:06 pm in reply to: Inertial rotation on a parented layer

    amazing! thanks for the response! So I know there is a way for this to work on several axis now. In my original post I was actually wondering if there would be a way for this expression to allow inertia on X and Y simultaneously, maybe with a slight tweak so that inertial movement on Y is slightly “muted”, but your post puts me alittle closer to that. Thanks.

  • Tord-øystein Stubberud

    May 30, 2018 at 6:33 pm in reply to: Clamp expression on a child layer?

    Thank you! I have no idea how it works, but been looking for a way to get this working for a long time : D Amazing.

  • Tord-øystein Stubberud

    May 30, 2018 at 4:52 pm in reply to: Clamp expression on a child layer?

    Thanks for replying! : ) but no, that didnt quite work. I place this expression in the child layers position, correct? It kinda flips out a bit : P
    Thanks again!

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