Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Null z rotation expression

  • Null z rotation expression

    Posted by James Ireland on May 27, 2009 at 4:53 pm

    Hello and I apologise if this has been answered already…

    I have a 3d null that has a layer parented to it. I need to rotate the null 90 degrees on it’s z axis. At present I’m keyframing the rotation but as I have hundreds of these null/layers to rotate Is there any way I can use an expression that activates the rotation and also does it on layer start?

    Thanks in advance for any help.

    Best,

    J

    James Ireland replied 16 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 27, 2009 at 5:25 pm

    Like this possibly:

    dur = .5; // duration of rotation

    ease(time,inPoint,inPoint+dur,0,90)

    Set the rotation duration to whatever you need.

    Dan

  • James Ireland

    May 27, 2009 at 5:33 pm

    Excellent, thanks again Dan.

    Also can you recommend a decent book for an expressions beginner?

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