Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: nah0y on October 16, 2012, 02:50:37 AM

Title: TweenScale display issue ?
Post by: nah0y 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.
Title: Re: TweenScale display issue ?
Post by: ArenMook 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.
Title: Re: TweenScale display issue ?
Post by: nah0y 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 :(
Title: Re: TweenScale display issue ?
Post by: ArenMook 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".
Title: Re: TweenScale display issue ?
Post by: nah0y on October 16, 2012, 11:43:01 AM
xD good luck with that :(