Author Topic: NGUI and Labels in 3D space  (Read 2149 times)

suibs

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
NGUI and Labels in 3D space
« 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!

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: NGUI and Labels in 3D space
« Reply #1 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.