4.16 Attach and Detach Static Mesh from Socket

That’s what I’ve seen but it doesn’t actually allow me to connect the lantern to the target spot. That’s where my problem is.

The only way that I’ve been able to get it connected is with that “Get Owner”

I’ve watched a few tutorials and posts about how to get an item, in my case a lantern, attached to my player by using sockets. But what I don’t understand is how to remove that static mesh from my character. Here is what I have

So, the question; How do I remove this lantern, this static mesh from the character? Any help would be amazing!

Additional note, I looked before posting, but I guess because of version changes, I can’t find the tools that other people have used. Please, prove me wrong, I won’t mind the answer :slight_smile:

It looks like you just need to plug the lantern as your target in the DetachFromActor instead of the lantern’s owner.

I’m confused, in the original post you said your problem was just disconnecting the attachment. In this reply you say you cannot attach it except with Get Owner but your original post does not use Get Owner to perform the attachment.

From your images it seems you are only passing the owner into the detach, which should not be needed and according to your post does not work anyway.

Two steps here, be sure H is being pressed, add a PrintString after it but before the detach and see if it fired. Next, make sure you lantern variable is properly defined, make another PrintString and print out the DisplayName of the lantern variable.

I don’t know how you spawn your lanterns but the owner could be null, another actor, or maybe even the World if it was placed at Design Time.