Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Rotate many objects with Null around their own axle?

  • Rotate many objects with Null around their own axle?

    Posted by Simon Dybeck on October 30, 2008 at 11:50 am

    Hi
    I have several items that I want to rotate. If I rotate everyone individually they rotate as I want by their own axle. When I hook all of the items up to a Null object to speed up workflow and rotate they all rotate as one big lump.
    How do I fix this so that the items hooked up to the null object rotate around their own axle so to speak?
    Thank you

    Roland R. kahlenberg replied 17 years, 6 months ago 4 Members · 5 Replies
  • 5 Replies
  • Simon Bonner

    October 30, 2008 at 12:02 pm

    You could add an expression to the rotation property of each of your layers that references the rotation of the null. Then they will all rotate in the same way as the null, but around their own anchor points.

    Select the null and hit R to reveal the rotation property. Select one of your layers in the timeline and hit R. Hold down Alt and click on the stopwatch. Use the expression pickwhip (the curly line – click and drag) to reference the rotation of the null. Select the rotation property of the layer you just added the expression to, hit ctrl+C to copy it, then select all your remaining layers and hit ctrl+V to paste the expression to them all in one go. Voila!

    Simon Bonner

    youtube.com/simonsaysfx

  • Simon Dybeck

    October 30, 2008 at 12:09 pm

    thank you very much, works perfectly

    oh and one more thing, is it possible by these expressions to change so that half of the objects rotate the other way than the other half?

  • Mark

    October 30, 2008 at 1:30 pm

    Yes, you need to reverse the expression by adding something like *-1 to the rotation of those that you wish to rotate negatively…I am not sure if that is the exact language to be used, but from memory I think it is.

    Mark

    Mark Harvey
    Senior Editor
    Le Réseau des sports

  • Simon Dybeck

    October 30, 2008 at 4:08 pm

    ok thanks, not really sure exactly how i should put it in.

  • Roland R. kahlenberg

    October 30, 2008 at 6:35 pm

    After you’ve pickwhipped to create an Expression, you’ll get a line of script that says something like –
    ———
    thisComp.layer(“Null 1”).transform.rotation
    ———
    All you have to do now, to get an inverse relationship going is to multiply that script by -1. The easiest way is to encapsulate the entire line in paranthesis and put a negative sign at the front. Like this
    ———–

    -(thisComp.layer(“Null 1”).transform.rotation)
    ———–

    HTH
    RoRK

    broadcastGEMs.com – the leader in customizable royalty-free animated backdrops

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