How to disconnect object from parent socket

I am making a game with AI, and I want it to drop the gun it has when it dies. I have it connected to a socket on the mesh skeleton I created.

Here’s what it looks like:

][1]

You should try calling DetachFromActor for your Blaster mesh. Plus, if you want it to fall to the ground, you need to reactivate its Physics with Set Simulate Physics.

Thanks! I called DetachFromActor on the blaster, but it just sat in the middle of the air not doing anything. To fix it, I created a static mesh out of the gun (it was a skeletal mesh) so I could use simulate physics. Turns out that if you simulate physics, you don’t need to detach it from the actor. Thanks for your help!