Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: sparky on April 26, 2012, 10:47:58 AM

Title: Just downloaded and 3d UI default Z postion set to 280000
Post by: sparky on April 26, 2012, 10:47:58 AM
Hi

I have been using the 'free' version and its awesome so I decided to buy the full version.

The 2d GUI works fine , but the 3d GUI has an issue. I created a new scene and added a 3d GUI using the 3d GUI layer, the camera shows nothing and after further testing I found the 'Anchor' Z position to be 280000 ( a bit far away ). I checked the demo version and its set to 700.

I have changed the depth offset on the 'Anchor' from default of 700 to 1 and I can see my button but Im just wondering if this is correct?

Cheers

Simon
Title: Re: Just downloaded and 3d UI default Z postion set to 280000
Post by: Nicki on April 26, 2012, 02:21:22 PM
Yeah, it's right. The Anchor depth is quite a bit changed, so that's what is messing with you. 1 anchor depth is like 500 ish (don't have it in front of me) on the z axis.
Title: Re: Just downloaded and 3d UI default Z postion set to 280000
Post by: ArenMook on April 26, 2012, 03:33:02 PM
This was result of a fix, yup. Now the depth is in absolute coordinates (which is proper) rather than pixel coordinates (which wasn't).