Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Catching the Absolute Rotation and Scale: Non-uniforms

  • Catching the Absolute Rotation and Scale: Non-uniforms

    Posted by Hammers Nail on January 18, 2018 at 12:42 am

    Hi, I know, this question about finding those absolute rotations has been answered by Mr. Ebberts and others numerous times, like: https://forums.creativecow.net/readpost/227/25141 however, I noticed a twist and the reason why it did not work for the original poster – those expressions work only if every parent is scaled uniformely (ratio 1.0). Otherwise, it goes crazy, because non-uniform scale affects angles, and abs scale itself was calculated only by taking Y value.
    In my case, I have a rigged guy with a bee smoker in his hands (nested comp) and for smoke I need to link Trapcode Particular’s emitter to it, with the smoker’s absolute rotation taken in account (main comp). At the moment only positioning works (toWorld, fromWorld)… from where I wonder if toWorldVec could work and give abs angle, and what would be javascript for that, ty.
    Nh

    pos = comp("nestedCharacter").layer("smokeEmitPoint");
    fromWorld(pos.toWorld(pos.anchorPoint)) // or smth like that for 3D point to feed into emiter's position

    Nh

    Hammers Nail replied 8 years, 6 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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