🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles


A member registered 14 days ago

Recent community posts

Created a new topic Text Mesh Bounds While Reading

I am trying to create speech bubbles that 'contain' text as it's being read. The bubble will only be as tall or wide as the currently visible text.

Right now I am setting the width and height of the containing transform using textMesh.bounds. However, this includes characters that are invisible while the text is being read. Also, if I apply any vertex effects then the bounds may be affected as well.

Is there a way to get the boundaries of currently visible text during a read? Bonus if it is not affected by jitter/wave effects - but for that I may just use a padding buffer.

Thanks, and loving the asset so far :)