I also discover that Three.js can do something similar: Procedural 3D text
I’m good with Javascript but have very little to zero experience generating 3d mesh by code. Tessellation and converting fonts to 3D from scratch seems too big a challenge for me.
My fallback solution is to create the text geometry in 3DS Max and imported it into PlayCanvas, but this doesn’t give me all the flexibility I need.
My project is to let the user create their own trophy with 3D text similar to this image:
Small update. I’ve been experimenting with applying tweens to individual characters. So you can do things like this without having to write a single line of code:
It’s an external script, not part of the engine so you just have to upload/copy the script code to your Editor project.
FYI, to upload a .ttf as a binary, you have to first rename the file to .tff.bin, upload the file to PlayCanvas and rename the asset to .ttf again in PlayCanvas. This avoids the import conversion that we do in the Editor when you normally upload a .ttf file