Use Static Mesh in UMG

Is this possible? The best example I can think of is something like the Note count from the old Banjo Kazooie game, where when you collect a note, a bit of UI will slide down with the note in front of the actual count (the actual implementation for the game was probably animated images, but it’d be much easier to just be able to load in the static mesh and apply a constant rotation to it.

Thanks for your time!

I was also wondering if this was possible. Anyone?

Bump – I’m wondering about this as well. We’ll need this support for our UI. My understanding is that this has been promised in a future version of UE; do we know which version to expect it?

Yep, quite possible using off-the-shelf tools:

  • Somewhere in your 3D scene (hidden from gameplay) add the mesh you want to render in the UI
  • Add scenecapture2D actor and point it at the mesh
  • Create a render target in content browser
  • Tell the scene capture actor to render to the render target
  • Create a material that uses the render target as a texture
  • In UMG create an image widget
  • In the image widget set the brush image to the material you made

This will let you draw any 3D object or scene with full control over lighting, animation, etc. into a 2D UMG layout. For example, you could have a 3D character head talking to the player in the HUD using this technique, or the 3D notes from Banjo Kazooie.

This technique can also be used to do video screens that show live gameplay action such as security camera feeds.

1 Like

Is there any sample or example video available for the same??

YouTube:

https://www.youtube.com/results?search_query=ue4+umg+mesh+render