Hello, I’m developing a game where my character has two swords at the same time behind his back.All works well.I wish now that he starts without a weapon and that he can pick up the swords that are placed on the ground.I create So two blueprints, one for each sword. Each blueprint has a collision box that I coded for when the character passes in and presses E it’s Set Child Actor Class. After that I create one Child Blueprint by Blueprint Parent (which are the Blueprints of the swords) to which I give statics mesh.I test each Child Blueprint separately and it works, when I pass over and press on E, a sword appears in the back of my character at the location I defined.The problem is that if I already have a sword hanging on the back of the character, the other does not want to hang on it (while they have two different places I then get an error from the Child Actor Set of the Sword Blueprint that does not work.
Hello, can you provide screen of your set actor class code, it will be easier to help you.
This is the blueprint of one Blueprint Parent.There is a box collision and if the player character overlap the box and press E the sword spawn on his back
And this is the errors that I have when I try to equip one sword and i have already one sword on my back