I have a problem and i hope someone can help me with him.
I’ve made an inventory system with a structure of variable for my object created (following a tutorial).
I want to had object in specified socket when an action is executed.
Here is the result i want, i’ve done this, but not when i press a button or realise an action.
My structure look like this :
I’ve made a socket with this name “objet_saisi2” :
I have the idea to use “spawn actor” for create a new instance of my object choosen (i don’t know if it’s a good idea), and continue the code with an “attach actor to component”, like this:
My object spawn, but not in the hand of my character, not on the specified socket in “attach actor to component”.
The object just spawn in the space.
I would appreciate some help if someone find where come from the problem.
Thanks in advance.