3 Replies Latest reply on Feb 22, 2012 8:38 AM by Shawnna2011

    A way to remove scaling from child/parent layers

    Shawnna2011

      Hello all,

       

      I have an odd problem.  I am wondering if there is a way to remove the scaling of a layer that is parented to another layer.  For example, I am trying to animate a small character holding a weapon.  Im doing a trick where instead of drawing the arm swinging back, I scale the upper arm negatively to sort of 'flip' it backwards.  The problem is, the same scale will then affect the weapon, which I do not want.  I know of expressions, but I dont particularly know how to use them well, or if that would help in this case.  Is there a way to remove certain aspects of a parent's animation from a child layer?  Any help would be awesome.  Thank you!

        • 1. Re: A way to remove scaling from child/parent layers
          Rick Gerard Adobe Community Professional & MVP

          You don't have an odd problem, you have an odd workflow. Try making the layers 3d, adjusting the anchor points and animating the rotation. There are expressions that can be used to make this type of animation easier by setting up inverse kinematics for the characters limbs. Without seeing at least a screenshot of your comp I can't give much more advice. There are just too many ways to do what you're trying to do.

           

          In case you're interested here is a link to Dan Ebberts Inverse Kinematics solution.

          • 2. Re: A way to remove scaling from child/parent layers
            Mylenium Most Valuable Participant

            Is there a way to remove certain aspects of a parent's animation from a child layer?

             

            You cannot. Somehow you you have your logic backwards. I agree with Rick on that one. As a matter of fact expressions would solve all your issues easily. Still, there's one way to steal your cake and still eat it: Rather than trying to use a layer's native transform properties, use the distortion effect of same name (or other suitable ones for that matter). Takes care of the whole problem in one bold stroke...

             

            Mylenium

            • 3. Re: A way to remove scaling from child/parent layers
              Shawnna2011 Level 1

              Thanks for your answers here.  The problem is, my workflow is constrained by our game development cycle where I work.  We're using code to export my AE files, and Psd layers, to animate characters in game.  The issue is, we can't export any complex things like effects or bones, and probably not 3D layers.  I have to stick to basic transforms right now for our code to work properly, otherwise I'd definitely try these suggestions. 

               

              I'll check out the Inverse Kinematics link, that's awesome.  I only know After Effects for character animation right now, so anything like that helps me a great deal.  Thanks!