Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Rotating objects round null facing forwards??

  • Rotating objects round null facing forwards??

    Posted by Ben Hartley on May 28, 2012 at 4:13 pm

    I have a null in the middle of three objects (all in 3d space) and need to rotate them round the null (by parenting as normal) but so that they stay facing FORWARDS. (see image)

    It would be great if someone could tell how how this would be done. Thanks in advance.

    If it looks good, look at it.

    Ben Hartley replied 13 years, 11 months ago 4 Members · 4 Replies
  • 4 Replies
  • Chris Buttacoli

    May 28, 2012 at 4:50 pm

    All objects can be forced to always face the camera. It is called auto-orient, and I believe can be reached by right clicking the layer and choosing transform > orient.. something like that.

  • Andy Galloway

    May 28, 2012 at 4:53 pm

    Hi mate,

    There will be a better way of doing this but if you are rotating an object around a null you could apply the following expression to the objects y Rotation.

    transform.yRotation-thisComp.layer(“Null”).transform.yRotation

    Just insert the name of your null where it says “null” in the expression.

    You will have to rotate your layers y axis individually so they all face forward properly. Also this will only work if the anchor point is centred to your object.

    I’m sure there are much better ways to do this but that’s my fix.

    Cheers,

    Andy

  • Darby Edelen

    May 28, 2012 at 11:22 pm

    [Andy Galloway] “I’m sure there are much better ways to do this but that’s my fix.”

    There may be more complicated ways that will work with more complex parenting setups, but the set up you recommended is the one I would recommend in general.

    +1 🙂

    Darby Edelen

  • Ben Hartley

    May 29, 2012 at 9:16 am

    Thanks guys, much appreciated. perfect!

    If it looks good, look at it.

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