Hi,
I followed this tutorial on YouTube: “How to make an Interaction System in UE4 - Tutorial - YouTube” and where it’s been fine, the issue I’m having is that I’m not sure how to deal with multiple meshes in a single blueprint, I have a control panel blueprint which has many buttons in the same blueprint, the issue is that the way this blueprint works from this tutorial; when I click in the panel, it always activates the interaction, meaning it doesn’t matter which of the buttons I press it will always run the same blueprint, so to test it, I just used a print command to just say “hello”, and no matter what button I press, they all run that same blueprint, so I was wondering how I can separate it.
E.g., Mesh 1, Mesh 2, Mesh 3, how can I make those separate interactions? Instead of all of those buttons interacting at the same time.
EDIT: All right I get the point, firstly mentioning buttons created some confusion, I don’t know how it made it seem like UMG widgets when I didn’t mention that, I’m talking about the meshes being the buttons, and as mentioned they’re in the blueprint, a screenshot below to explain it, also my reason for showing the tutorial is because I literally copied it directly, I haven’t changed it in anyway as I’m still learning blueprint, but basically the first person controller contains some line trace code, which uses some blueprint interaction item, then in the blueprint of the control panel, when you click on the object using the line trace, it sends an interaction.
Control Panel Blueprint
First Person Controller
Content Browser
Control Panel Blueprint
I can’t explain anymore than this, as this is the only thing that was explained in the video tutorial, but as mentioned originally, the problem is in the part where you use the interaction, no matter what I click, it all sends the same print command, so I want to know how to separate it.