https://docs.unrealengine.com/4.27/en-US/API/Runtime/Engine/GameFramework/AActor/AttachToComponent/
해당 액터에 제공된 컴포넌트의 RootComponent를 노출시킬 수 있습니다.
AActor* actor = GetAcceptableActor();
if(actor != nullptr)
{
UPrimitiveComponent* Component = Cast<UPrimitiveComponent>(actor->GetRootComponent());
if (Component != nullptr)
{
Component->SetSimulatePhysics(false);
}
actor->AttachToComponent(this, FAttachmentTransformRules::KeepWorldTransform);
Mover->SetShouldMove(true);
}
else
{
Mover->SetShouldMove(false);
}