I have a string variable that contains a sentence. I want to be able to change the visibility of the sentence and then show letter by letter.
Thanks for answering. So, I think I explained myself wrongly. Let’s say the text will already be in memory, pre-construction. I want to take this same text and just show the letters giving the impression that they are being generated in real time, but they are not. Doing this, the text will not have this bug of the words jumping to the next line that even appears in your video with the word: “Contains”. Unreal has this very weird wrapping system that makes the phrase have this unexpected jump effect.
(I know that this “jump effect” is more susceptible generating letter by letter, with words this tends not to happen).
Was the whole point of the post to address issues with text wrapping?
I know that this “jump effect” is more susceptible generating letter by letter, with words this tends not to happen
I feel more manipulated than that text block. You set us up for failure ;p
I think I can work with this. I’m forming some ideas in my head. Thanks for your response.
Never! I’m sorry for your time.
One thing that comes to mind when revealing existing text would be to set up a material mask. Then use the widget retainer. Altering the mask bit by bit would reveal the text underneath.
Could work, but sounds somewhat rigid and a tad fiddly, though.
vs next frame:
Here it is not even UE’s fault. It’s doing its best. I’d hate to write code that checks whether a line of text fits into the box, so I’d rather have a mask, tbh.
There may be a clever solution to this, who knows.
Ooooh, I see… hmm… it might work with some cons… and yes… I’m also thinking about calculating the size of the text box and breaking a line when necessary. Create my own text wrap. But a mask seems more efficient too.