Jump to content
Search Community

aries

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by aries

  1. Hello everyone,

     

    I am just getting started to use GSAP to animate SVG graphics. I want move a 'leg' and yet the shank separates from the 'leg' in moving.

    The key codes are:

    "

    TweenLite.to(leg, 1, {rotation:"-30",svgOrigin:"155 150"});
    TweenLite.to(shank, 1, {rotation:"30",svgOrigin:"155 250"});
    "

    Though I think it is the problem of maintaining the status of matrix of the shank, I do not know how to fix that. Somebody can help? Thanks. 

    See the Pen Gpgvaw by aries (@aries) on CodePen

×
×
  • Create New...