FlyingText3D - Real dynamic 3D text from TrueType fonts

Update: version 2.2.1 out now!

If you’ve ever wanted real 3D text in Unity, now’s your chance…create text instantly from TrueType fonts, either dynamically at runtime or as prefabs. Works with Unity free and Pro, any language, should work on any platform. Comes as a .dll, plus source code is included. Get it on my website here! Also available on the Unity Asset Store!

Text can be created as a single object, or as separate GameObjects for each character. No tediously importing static text models from 3D apps; instead it’s as easy as this:

var text3D = FlyingText.GetObject ("Hello!");

Or you can use the inspector utility to create text objects directly in the scene. You get lots of control over appearance, such as resolution, color, size, extrusion depth, spacing, and so on. You can use HTML-like tags to change fonts, size, etc. in a single line of text, or set up defaults in the inspector. For example:

That was made with this text:

<font=Airstream><color=#5a7ae3><depth=.01><size=3>Flying
<color=#e0e0e0>
<depth=.2><font=Arial Black><size=1.5><space=.2>Text<depth=.75><zpos=-.25>3D

You can use any material, and textures can be per-letter, or stretched over the entire text. The resulting GameObject can be animated and otherwise manipulated like any other GameObject.

You can automatically add colliders and rigidbodies, which is especially effective for text as individual characters:

It comes with a nifty custom inspector:

(As you can see from that, you have to rename .ttf files as .bytes instead in order for them to work with FlyingText3D. You can do this outside of Unity, or use the inspector utility shown above. I wasn’t able to find a way around that, since there’s no access to the raw data of Font assets. If someone can think of a better work-around, let me know! Yeah, it’s a minor thing, but I’d still rather avoid it if possible.)

And, of course, it has complete documentation. While it’s pretty capable already, it’s just the 1.0 release, so there’s more to come:

• Add compound glyph support; currently simple glyphs work (which is what most characters are, but accented characters may or may not work, depending on the font).
• Add better non-Western font support; pretty much it just does left-to-right at the moment. I’m not too familiar with this area, so if you have a font in mind that doesn’t work right, it would be very helpful if you could send me a bit of text along with an illustration of how you would expect it to look.
• Have the ability to set a smoothing angle for extruded edges, which right now are always hard-edged.
• A utility for “baking” selected characters in the font, so the entire TrueType font file doesn’t have to be included. A lot of fonts are quite small anyway, but this could be especially useful for Asian fonts, which tend to be >10MB. Also this would allow you to include fonts where you don’t have a license to distribute the actual font, since it couldn’t be reconstructed, though you’d still be able to change size, etc. (but the mesh resolution would be fixed).
• Beveling, in addition to extrusion.
• Possibly additional kerning and character mapping tables, if you find any fonts that aren’t supported (though some fonts don’t have any kerning info at all anyway).
• Maybe some additional HTML-like tags?
• Other stuff you think of that would be cool.

Happy 3D-texting!

–Eric

Un-Bloody-Believable!!!

Eric, this is awesome!!!

This is the missing ingredient for killer title screens. I didn’t realise how much I have needed this, until I saw it :slight_smile:

THANKS!!!

(buying now)

WOW !!!
Questions:

  • Not available at $5 (for me only ?) on your website ???
  • $5 too on asset store ??? It would be great !!!

6R

Thank you. :slight_smile:

It’s $5 off the regular price. Sometime later it will go up to $25. I can’t sell it for $5, it took a lot of development and does a lot of pretty cool stuff if I do say so myself. :wink:

–Eric

Impressive! For sure a buy!

Hi,
Just bought it :slight_smile:
Thanks Eric.

-Ippokratis

Oooops… Sorry !
I understand this and was so surprised about this low price !!! :slight_smile:
For sure it’s a great plugin, even for $20 !!! :wink:

Will it be for $20 too on the asset store for a limited time ??? Because it’s a tool to quickly import in each project !!!

6R

It’ll be $5 off on the asset store for a limited time, yes, although the price is a little higher there (because I have two prices on my website, which can be voluntarily chosen…this has worked very well but there’s no way to do that on the asset store). I submitted it yesterday, so it should be up in the near future.

–Eric

Thumbs up

This was a day one purchase for me. Great job!

It’s on the store!

Maybe some text outline effects would be cool :slight_smile:

Is it possible to have the text scale and relative position with different resolutions and aspect ratios? for iPad iPhone desktop etc?

€23.75 on the asset store instead of €16.44 on your website !!!
I had to buy it from your website…
For €7 difference I can accept some manipulations.

6R

Yes, that would actually be very similar to the bevel effect I have in mind.

It’s a 3D object, so it already scales to different resolutions automatically.

Yes, as I mentioned earlier, the price on the asset store is sort of in between the two prices on my website.

–Eric

FlyingText3D 1.1 is out now (update notices sent to buyers from my site, will upload to the asset store next)…it adds support for compound glyphs, so you’ll find that characters with accent marks work.

It’s not implemented 100%, since there are some things like matrix scaling/rotation it can do, but I wasn’t able to find any fonts that actually used this feature. Since I don’t want to include untested stuff, I left it out for now. So if you find any characters that don’t look right, let me know, thanks!

–Eric

And it’s on the asset store! (They seem to be pretty fast with approvals lately.)

–Eric

Just got this, and I am not even sure if I am going to use it, but I wanted to purchase something from Eric5h5 as gratuity for solving some of my Unity related problems on Unity Answers and this forum. They guy makes a huge effort on Unity, and I appreciate that.

Thank you; I do hope you use it though. :slight_smile: Just implemented left/right/center justification for the next version:

–Eric

FlyingText3D 1.2 is out now:

Additions:
• Smoothing angle for making extruded edges have smooth lighting. It works the same way that the smoothing angle for imported meshes works in Unity.
• Left, right, and center justification for lines of text.
• A “justify” tag, so that different lines can have different justifications.
Improvements:
• Warnings printed for unrecognized tags (helpful for catching typos).

Having smoothed edges reduces the number of vertices as well as looking better…the character below is 396 verts with a smoothing angle of 0, and 272 verts with a smoothing angle of 50.

Will be uploading the update to the asset store next.

–Eric

I like the font in this picture :slight_smile:
Some crazy ideas :

  1. Beveled edges. Adjustable % of bevel.
  2. Animated effects ( a-la Final Cut ).
  3. Particle effects.
  4. A new implementation of the “Make me rich now” button.

I find this asset great, thanks for it.

-Ippokratis

Eric, this slipped under my radar… well… fantastic, as ever!

Best regards,
Matt.

I’m not surprised. :wink:

Yep, that’s coming.

Can you explain more?

I had to scrap that, because while it mostly worked, approximately every 10th time you click it, an anvil inexplicably falls out of the sky and crushes you. And I refuse to work on that bug anymore.

Thanks!

–Eric