How to Attach and then Detach a Skeletal Mesh AI Character to the Player

Hello everyone!

I am attempting to attach a skeletal mesh ai controlled pawn to my player character pawn using the “attach to component” node. This works to an extent but i am finding that the ai pawn is “stuck” where it was picked up. If i walk around after the attachment the mesh follows my character but that is all…

Also I am trying to detach the pawn and have the ai controller take back over with bad results. when using the “detach from component” node the mesh disappears but the pawn is still in the world where it was first picked up…

How can i pick up an ai character, have it simulate physics, then detach and have the ai controller possess the ai again to allow it to roam the map like before?

[My Blueprint][1]

Here is an in-game example of what is happening:

Thank you for any and all assistance!!

-Austin