Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Text on Ground or Plane

Discussion in 'Unity UI & TextMesh Pro' started by Andreas12345, Jan 10, 2019.

  1. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    268
    I am not sure i am right here:
    I want to put my race results on the ground like on the screenshot, alternative on a plane which is transparent on the ground.
    Anybody can point me to a start?

    UI text on worldspace? Or what i am looking for?
     

    Attached Files:

  2. jaygummers

    jaygummers

    Joined:
    Jan 10, 2019
    Posts:
    5
    Can you please elaborate a little more?
     
    Andreas12345 likes this.
  3. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    268
    Yes sure.
    When my race has ended i have a simple panel with UI text where the results are. (See screenshot)

    I am looking for a way to draw/show this text on the ground in front of the player camera.
     

    Attached Files:

  4. clintonb

    clintonb

    Joined:
    Dec 14, 2013
    Posts:
    14
    While you could absolute create a World Space Canvas, for what you are describing, I'd use some sort of text object directly in the world. Under the "Game Objects" -> "3D Object" menu, you'll find "TextMeshPro - Text" (if you've installed the TMP package), and "3D Text". Choose the one you like, position it to taste, and hook it up to some sort of script that'll set your text. Done :)
     
    Andreas12345 likes this.
  5. Andreas12345

    Andreas12345

    Joined:
    Oct 17, 2013
    Posts:
    268
    Ah that helps, i ll give it a try, thanks!