Creating dynamic text entity attached to curved surface

What want to achive is to create text-mesh dynamically and attaches it to another mesh object which is little curved.

I found an example in which I can create a text-mesh dynamically, but it’s just flat one.

https://playcanvas.com/project/891747/overview/luistexttomesh

Can anyone share a good tip for this?

1 Like

Hi @sooyong_Kim,

Normally for the solution would be to render your text to a texture, using a canvas, and then apply that texture to the surface. There were some older examples in the forum I think if you look around.

Another simpler trick, for a small text, is to break your words to separate text elements, one for each letter. And then position each letter accordingly in the curve.

We did this in the following project for the ring engraving:

https://pirron-rodon.one

1 Like