Hello,
I just wanted to ask how you would realize something like a world to screen but from a camera which renders to a render target.
I want to make something with UMG and it is really getting tricky, because I have to use a render target for a 3d model.
I want to add some UMG buttons to specific parts of the model… That’s what I need the world to screen for.
Thanks for any kind of help!
I don’t quite understand what you are trying to do here.
You can add UMG objects directly onto a blueprint if thats what you are looking for. If you are trying to render a view of a 3D mesh into a UMG then you can use a render texture camera in the scene, there are lots of tutorials around that.
I assume that you can’t make the UMG widgets draw in the other camera view?, could you try using 3D widgets on/around the model?
So here is the setup:
On the left is the model, on the right is the scenecapture 2d camera.
This is the menu, showing the weapon on a render texture, you can rotate the weapon from the menu.
(Just a drag function which will spin the original model around.)
Now I wanna add little buttons to specific points of the gun, from there you will be able to choose attachments.
These points should of course stick to the weapon if you spin it around and they have to be clickable!
I hope my problem is clearer now.^^
Yeah with those UMG options on the gun just create a new UMG element and attach it to the actual mesh in a socket. Set them to world space not screen space and they should work how you want.
But then you wouldn’t be able to click on them, because in my setup you would be clicking on a texture rather than the actual umg elements?