A can attach for example a box manually to the InteractionComponent in the BP, but using C++ I get a strange result.
I’ll appreciate it if somebody could tell me what I’m doing wrong.
Thank you for your response, RecourseDesign
Yeah, I’m thinking about that. But if it could be done in BP, maybe there is a way in c++ too.
And in my example, it’s too soon, or too late, or the wrong place, I don’t know.
The most strange part is that the trigger sphere trying to attach to itself. But as I understand this in SetupAttachment(this) is referenced to the interaction component.
Ok, apparently it was just weird behaviour of UE. I’ve added component to the actor, compiled, deleted it, and now everything looks as it’s supposed to look.