Author Topic: TweenScale display issue ?  (Read 2101 times)

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
TweenScale display issue ?
« on: October 16, 2012, 02:50:37 AM »
Hi,

I'm having an issue using TweenScale. I have this hierarchy :
- TweenScale (from 0,0,0 to 1,1,1)
-- Sprite
-- Label

And if I do a tweenScale.Play(true), the animation is played, the label is ok, but the sprite is just not displayed (but is here and activated). If I just change its scale by 1px (manually in the scene) x or y, then it will get displayed (but clicking Make Pixel Perfect button does not make it appears).

Any idea ?

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TweenScale display issue ?
« Reply #1 on: October 16, 2012, 08:04:12 AM »
Never scale from 0. You get division by zero errors when trying to calculate an inverse matrix.

Use a small number instead such as 0.01.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: TweenScale display issue ?
« Reply #2 on: October 16, 2012, 09:18:13 AM »
I would NEVER though to that, thanks !

Also, sending notifications email from the forum does not seems to work anymore :(

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TweenScale display issue ?
« Reply #3 on: October 16, 2012, 09:23:09 AM »
Yup, I know... It's the 7th time it breaks, and 3rd time in the last 3 days. I've already sent off an email to my hosting company.

I'm getting the feeling they don't know how or why it keeps breaking, so they can't fix it properly, as every time I'm assured that "it will never happen again".

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: TweenScale display issue ?
« Reply #4 on: October 16, 2012, 11:43:01 AM »
xD good luck with that :(