Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: kaz2057 on October 25, 2013, 03:33:05 AM

Title: Lag Position | Start Position
Post by: kaz2057 on October 25, 2013, 03:33:05 AM
Dear Aaren,

I' m using lag position in my drag panel but I found a sort of bug. If I add LagPosition, there is an issue on start position with UIAnchor and my panel don't reposition correclty according to aspect ratio ...

An example ...
I have my play window editor with Ascpect ratio setup on 4:3. Then Build on my Nexus 7.
My Panel that include Lag Position, under Archort Top Right, not move a stay in the same position of 4:3 ....

This is visible also in the editor. Add Lag Position and change aspect ration play editor window and click immediately play. You see that panel objects not follow the UIAnchor.

To fix in the editor I need to resize the play window editor to refresh the panel object position but obvously on build doesn't wowk because it remeber last position on build...

I try to change update script value from -500 to +500 and active/deactive ignorescaletime but nothing to do ...
I try also to change script execution order ...

At the moment because of I need just for LagPosition on Y axe, I remove X and Z translation and now works fine, but if you help me to fix this issue, would be better for next time :)

Any suggest?
PS: I use NGUI 2.7.0

Thanks
Title: Re: Lag Position | Start Position
Post by: kaz2057 on October 28, 2013, 02:27:23 PM
up
Title: Re: Lag Position | Start Position
Post by: ArenMook on October 29, 2013, 12:54:56 AM
My suggestion -- don't use LagPosition. Write your own script to do basic interpolation to do what you need it to. LagPosition in 2.7.0 still uses the Update Manager, which was scrapped in 3.0.X.