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 amHi
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 youRoland R. kahlenberg replied 17 years, 6 months ago 4 Members · 5 Replies -
5 Replies
-
Simon Bonner
October 30, 2008 at 12:02 pmYou 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 pmthank 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 pmYes, 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 -
Roland R. kahlenberg
October 30, 2008 at 6:35 pmAfter 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
RoRKbroadcastGEMs.com – the leader in customizable royalty-free animated backdrops
Reply to this Discussion! Login or Sign Up