/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Attaches the RootComponent of this Actor to the supplied component, optionally at a named socket. It is not valid to call this on components that are not Registered.
Whether the attachment was successful or not
bool K2_AttachToComponent ( [USceneComponent](API\Runtime\Engine\Components\USceneComponent) * Parent, [FName](API\Runtime\Core\UObject\FName) SocketName, EAttachmentRule LocationRule, EAttachmentRule RotationRule, EAttachmentRule ScaleRule, bool bWeldSimulatedBodies )