Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Orient a child 3D layer along the world Z axis

  • Orient a child 3D layer along the world Z axis

    Posted by Joel Daniels on November 7, 2023 at 3:56 am

    Hey! For the life of me, I can’t figure this one out with rigging or expressions.

    I have a bunch of duplicated 3D layers, parented to a null and arranged in a ring around it. The null is rotating around the Y axis, and rotates down a little on the X axis as well.

    I need the 3D layers to orient automatically along the world Z axis as they orbit the null, so they’re always facing forward (so they also need to oppose the X axis rotation of the null as well).

    I can sort of fix the Y axis rotation issue by simply subtracting the rotation of the null from their Y rotation, but then there’s some gimbal locking that arises and I can’t fix the X rotation.

    I’m stumped. Please help! Let me know if I need to clarify more.

    Tom Morton replied 5 months, 2 weeks ago 2 Members · 1 Reply
  • 1 Reply
  • Tom Morton

    November 7, 2023 at 7:45 am

    Use a central null that is rotating, and group the spinning layers inside another null. Link the rotation of the inside null to the central null, but put a minus in front of it, so that it rotates the opposite way from the central null at exactly the same speed and your inside null should always be facing the same direction?

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