Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Burdock on September 04, 2013, 05:47:02 PM

Title: FOV and perspective camera
Post by: Burdock on September 04, 2013, 05:47:02 PM
Hey guys! New to the forums here~ Just had a few question...

I just got NGUI and am having some issues using a perspective camera...
Basically I need a HUD that stays the same size and in the same location based on FOV... Is there any easy way to do that?

Thanks for the help!

-Daniel
Title: Re: FOV and perspective camera
Post by: Nicki on September 04, 2013, 06:13:18 PM
If it needs to be the same size, why not just do it fully 2d in an orthographic secondary camera?
Title: Re: FOV and perspective camera
Post by: Burdock on September 04, 2013, 10:26:31 PM
That would work.... But then I cant use a lot of features like NGUI's OC, refracting and such :/

Is there any better way, I would much rather a more *elegant* solution?

Or does anyone have an example of this working??
Title: Re: FOV and perspective camera
Post by: Burdock on September 04, 2013, 10:46:02 PM
Ok.... I now realize how stupid i'm being :/

Fixed by using a 2D UI~ and an Anchor with a positive Z

~Daniel
Title: Re: FOV and perspective camera
Post by: Nicki on September 05, 2013, 10:56:15 AM
As long as you're getting smarter, it doesn't matter how stupid you were in the past.  8)