Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions vertical scale tied to z position of 2ed object

  • vertical scale tied to z position of 2ed object

    Posted by Philip Rachford on May 1, 2009 at 4:25 pm

    Hello there,
    I am trying to create an animated 3d bar chart. I have created a 3d box that I would like to scale along the y axis according to the z position of a null object or maybe a slider control. I am not well versed in expressions and suspect that this is pretty simple, but I can’t get just the y scale of my 4 sides tied to the z position of the null. If someone could help with this I would be very grateful. I am using CS3.
    Thank you
    Phil Rachford

    Philip Rachford replied 17 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 1, 2009 at 5:33 pm

    Could be as simple as this:

    L = thisComp.layer(“Null 1”);
    [value[0],L.transform.position[2],value[2]]

    Dan

  • Philip Rachford

    May 4, 2009 at 5:59 pm

    Thank you very much Dan, that will do nicely.

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