K
K
kos_dev2017-01-14 05:52:29
JavaScript
kos_dev, 2017-01-14 05:52:29

How to correctly attach a player's nickname to a 3d model in Unity?

Hello.
I am creating a small 3D game, like a MMORPG, I need a 3D text with the name of the character above the head of the character my player controls. A number of questions
arise: Is it required to display the text through a 3D object: 3D Text?
How to make it so that each player sees nicknames for himself neither backwards nor with angle distortion, because if you attach 3D Text to a character, then its Y-rotation will change with each rotation of the character, and even if not, then the person, who will look from another point will see an incorrect display of the text.
The essence of the question: how to make the display of 3D texts for each player correct and readable. If you know any lessons, then please attach to the answer. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2017-01-14
@kos_dev

About a person looking from another point is not clear at all. Your nicknames are drawn on the client - you can rotate them as you need, in the direction of the player. For each client, the turn will be different.
Actually, the same thing with character turns - no one bothers you to ignore the y-component and always turn nicknames towards the player.
But, as Arthur Grand already said - use 2d text. 3d is not needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question