Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Display Text on Actor

I want to be able to display changeable text at actors' locations. So if I have multiple boxes, I would want to display a counter on one of the face's of each of the boxes. I've tried to do this with a Text Render component, but the text shows up very blurry in-game. I've also tried to do this with a Widget component, but I the widget won't center onto the actor. Is there a good way to display text like this?

Product Version: UE 4.8
more ▼

asked Jun 21 '15 at 10:39 PM in Blueprint Scripting

avatar image

60 11 13 16

avatar image Erasio Jun 22 '15 at 12:05 AM

The text render component usually does the trick.

Could you show what exactly you did and how the blurry thing looks like ideally?

avatar image namcap Jun 22 '15 at 12:11 AM

The text in the dark blue square is from the Widget, and that is what I expect the TextRender to look like, but the TextRender comes out terribly, as seen in the light blue square. (The widget looks centered here, but I was just guessing-and-checking world locations until I got a good spot).

For the TextRender, I just added it as a component to my actor and then I used "Set Text" by changing an int to a Text with 'ToText (int).'


blurryvsnormal.png (60.2 kB)
avatar image Erasio Jun 22 '15 at 01:00 AM

Where exactly did you place the text render? This looks like you placed it exactly on the surface and unreal is struggling in finding out which is in front. Could you push it like 1-2 units in front and check again?

avatar image namcap Jun 22 '15 at 03:14 AM

I did place it just 1 unit in front of the sprite, but even moving it so 50 or 100 units in front of the sprite, I had the same problem. I followed the link that was posted below (now it seems to be deleted) and was able to get a widget located on top of my actor with ease. But thank you for your help! I am still curious why my TextRender shows up so fuzzy/blurry, it's very strange.

avatar image Erasio Jun 22 '15 at 10:40 AM

Indeed it is. I will probably look into it myself a bit. I'll let you know if I find anything!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Sorry, I had deleted my post because I thought that it wasn't going to help. :P

Here's the link to the tutorial, if anyone seeing this post want it.


more ▼

answered Jun 22 '15 at 03:45 PM

avatar image

156 4 4 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question