Jump to content
Search Community

ProjectFrank

Members
  • Posts

    1
  • Joined

  • Last visited

ProjectFrank's Achievements

0

Reputation

  1. As shown in the Codepen, the rectangle will animate skew over the duration of the tween in a way that is expected when setting skewType to 'simple'. However, when the tween completes, the end state of the rectangle is such that one would expect when setting skewType is set to its default value of 'compensated'. EDIT: Temporarily dealt with by simultaneously tweening scaleY to the inverse of the cosine of the skew angle (1 / Math.cos(angle)) instead of relying on 'simple' skewType
×
×
  • Create New...