Hi, is there a way to put 3d objects that you can click on, in widget?
Thanks.
You need scene capture 2d, render target texture, button and image on it.
1 Like
Thanks. I guess that’s one way of doing it. I was hoping i could just interact with the objects, just like you would in game.
But how would you make custom shape buttons, so the button hitbox matches the shape of the object?
I was hoping you wouldn’t ask, because it’s not such a trivial task…
It is not possible to change the button hitbox.
I’m not sure that this is the most elegant hack, but if you make a Line Trace near Scene Capture 2D, which will move synchronously with the cursor relative to the button, then you will be able to use it to determine whether the cursor is over an object in the image.