How do I create a 3D text with depth?

Hello Community,

my question may sound a little bit dumb, but after hours of research I couldn’t find a working solution. I created a 3D text object (which is displayed in 2D by default). But I want to add depth to the text (maybe by scaling the z-axis?!). What do I have to do, that it looks something like this?:

I want to change the content of a 3D text object at runtime, so prefabs aren’t a solution for me.

Does anyone know how to do this?

All of the builtin text rendering options in Unity are fundamentally “flat” - they use a texture map to render the text. You’ll have to get a 3rd-party asset to accomplish this most likely - I think TextMeshPro can do this?

If you want to get by without buying an asset, you can export your font as many individual letters, and write your script to place those letters. You’ll be doing a lot of typography programming though…

Paging @Stephan-B

I have TextMeshPro but I don’t know which value/reference I have to change in the settings. Do you know how to do this with TextMeshPro?

I could be wrong, I just thought I saw at some point that it had that capability. In any case searching for “3D Text” on the Asset Store gives a bunch of results, at least 2 of which are relevant.

Oh I hoped that TextMeshPro could do this. I found 2 plugins in the Asset Store that I could use, but they doesn’t work anymore since Unity 4.x

FlyingText3D works in Unity 5.

–Eric

Ah, that must have been the one I saw.

I think TextMesh Pro does do it:

You should contact Stephen (or post to the TMPro forum) if you can’t figure it out. He’s always happy to help.