- Home /
3d Text how do you autofit to a fixed space
I'm trying to figure out how to fit a 3d text letter in a fixed sized space. The text needs to auto adjust it self regardless of the font and character size being used (i.e. "I" or "W"). This should ensure it doesn't seem too small or to large for the set space given, regardless of what font is being used. And this will use a collider also. Thanks.
This is kind of a big ask. Do you have any of the maths worked out? You could try auto-generating a mesh collider from the text mesh, and then scaling proportionately using the resultant bounding-box...
Your answer
Follow this Question
Related Questions
Manipulating vertices through colliders 1 Answer
Make Collider equal to renderer bounds? 2 Answers
How would i find the center of an object with a Y axis offset to find the center on the top face? 1 Answer
Unity Height Glitch (explained) 1 Answer
How to be dynamically attached to the PolygonCollider2D in on iOS 1 Answer