Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: suibs on June 10, 2014, 11:06:34 PM

Title: NGUI and Labels in 3D space
Post by: suibs on June 10, 2014, 11:06:34 PM
Hi guys,

Just about to grab this great looking tool from the store, though had a question beforehand;

Are there any features that exist within NGUI for getting Labels/Text in 3D space, relative to the camera?

For example, the Combo names and other UI elements that are converted from 3D space to screenspace in realtime in Bulletstorm; https://www.youtube.com/watch?v=3NhgZph80ko

Are there any video examples or screenshots of this in action?

Cheers!
Title: Re: NGUI and Labels in 3D space
Post by: Nicki on June 11, 2014, 03:47:36 AM
Those labels are not in 3D space, they are in the UILayer but tracked to a screen position that fits the model in world; notice it's on top of everything and doesn't scale with distance. This is easy to do, but requires some custom work. It's just a label like normal that you change the position of.