Author Topic: TweenScale and anchors  (Read 7464 times)

breakmachine

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 71
    • View Profile
TweenScale and anchors
« on: September 04, 2014, 09:42:33 AM »
I'm having trouble using TweenScale on a panel with widgets using anchors. The anchors are set to execute on OnUpdate but during and sometimes after the TweenScale animation they end up in the wrong place. Any ideas?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TweenScale and anchors
« Reply #1 on: September 04, 2014, 11:06:49 AM »
TweenScale distorts the widget, so anchors won't work quite right. You should use TweenWidth, TweenHeight, or TweenPosition instead.

breakmachine

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 71
    • View Profile
Re: TweenScale and anchors
« Reply #2 on: September 04, 2014, 01:35:32 PM »
Ok. I'll try a combination of those then. Thanks for your reply.

breakmachine

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 71
    • View Profile
Re: TweenScale and anchors
« Reply #3 on: September 05, 2014, 03:07:51 AM »
Didn't really give me the effect I wanted. Would have been great if anchors could handle distortions. At least scale  :)