How can I detach an Actor's RootComponent from another Socket?
I've attached one of my Blueprints programmatically to my Character's RightHandSocket using the following:
However, I'd like to detach it from that socket later on, in the case of the player dropping the item. I haven't been able to find anything in the AActor page that resembles "detaching", so I wonder if I'm looking in the wrong spot?
asked May 18 '14 at 12:36 AM in C++ Programming
Doesn't matter what/who the parent is :)
answered May 18 '14 at 12:44 AM
I´m facing a similar problem
attaching like this MyItem->AttachRootComponentTo(this->Mesh, "RightHandSocket", EAttachLocation::Type::SnapToTarget);
seems not being working. I would expect MyItem to get freed in the scene, but keeps moving attached to my character
any thoughts? Thanks in advance
answered May 13 '15 at 03:44 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here