Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Winter_is_coming on September 24, 2013, 09:52:36 AM

Title: Larger than expected Z-Depth adjustment
Post by: Winter_is_coming on September 24, 2013, 09:52:36 AM
Hello.

Has anyone ever experiences having to adjust the Zdepth of an item by a much larger than expected value to make it appear. I am aware that you need to adjust the zdepth when dealing with items from different atlases and my experience has been this only every seems to need a small adjustment of -1 to -5 to make the items appear correctly.

I have a button on a 3d plane which is the exception to this rule. The label needs to sit at -57 no more and no less or it wont appear. As you can imagine as this is on a 3D plane the offset becomes very noticeable and the label is no longer visually aligned correctly to the button. This would not be a massive issue if I was just catering to a single aspect ration as I could just adjust the XY position to make it appear in the correct position. Sadly its for a mobile application and as such when the aspect ratio changes the label moves all over the place.

Has anyone every had a similar issue with needing such a large Zdepth adjustment?

Many thanks for the help in advance.
Title: Re: Larger than expected Z-Depth adjustment
Post by: ArenMook on September 24, 2013, 01:09:44 PM
Tilt the window to show the position of the objects. Chances are you have something offset.

And upgrade to 3.0 to have this no longer be an issue altogether.