I’m working on a project right now that requires a setup in which players can type out text on their keyboard and have it show up on-screen in the form of 3D text. I would also like it to have an eight character limit and have the word typed disappear upon pressing the spacebar. I’m very new to all of this, but I’ve been messing around in Blueprints with UMG and have something roughly blocked out that might at least partially work with 2D text, but to work with the game it really needs to be 3D. If someone could screenshot a node setup that I could try to use to achieve this I would be extremely grateful.
Hey there @Zephyrlark! Welcome to the community! There’s lots of ways to get input and translate it to text in game, however that use case can change exponentially. Would this basic implementation work out for you?
This would definitely need more tweaking as I threw it together in 2 minutes. Alternatively if you want to enter it from UMG UI and passing it down to a render text, it would be much easier to handle the processing instead of doing it in game.
Edit: Seems the BP failed to upload sorry!
I think that would work, thanks! The project I’m working on is more of an art game, so it would be text affixed to a specific point in space against a binary code background like this.
What node setup would you use to edit this text in real-time then have the text reset upon a spacebar click? A blueprints screenshot would be extremely helpful. Thanks again!
Okay, so I discovered this node setup that does exactly what I needed it to. I figured I’d go ahead and share in case anyone else needs help with this!
My Unreal (5.4.4) does not show me Set Text 3d component, only Set Text (Text, textBox, Multiline edit, editable text). How to see it in the “menu” ? Context Sensitive is set to off
Hey there @EarthHobbit! Set Text
still works, and is correct when working with rendered text component in 5.4.4. You would just make sure to pull it from your text render.
Perfect, thank you !
Quick note, if you end up reworking this with the new input system instead of the raw inputs, the Any Key
input doesn’t work the same way and would require tweaking. Let me know if you have any more questions!