Getting the bone position from USCS_Node for USkeletalMeshComponent

Ok, found a solution that works for my use case.

  1. Create a new USkeletalMeshComponent, assign the USkeletalMesh from the USCS_Node’s USkeletalMeshComponent.
  2. Register it.
UWorld * World = GEditor ? GEditor->GetEditorWorldContext().World() : nullptr;
Component->RegisterComponentWithWorld(World);