Attach and detach mesh from character

What is a good way to attach a physics object to an ai character but also be able to detach it?

In my player Bp i can pick up physics objects and in my ai character Bp i have a trigger that when ovelaps with the physics object attaches a mesh to the character.

But what is a good way of picking up the object again and detaching it from the character ai?

You could use “sockets”.

Sorry, I forgot to mention that I use sockets for attaching which works fine, but the question is, how can I detach the actor from the character, like im picking up the actor from the character. The actor/mesh cant simulate physics otherwise it wont attach.

Hope that makes it clearer

Smart! If I make the attachment/detachment in the actor Bp that could work.

Thank you :slight_smile: