use AttachTo Method In USkeletalMeshComponent Class.
Like this :
FName AttachPoint = GameCharacter->GetWeaponAttachPoint();
Mesh1P->AttachTo(PawnMesh1p, AttachPoint);
use AttachTo Method In USkeletalMeshComponent Class.
Like this :
FName AttachPoint = GameCharacter->GetWeaponAttachPoint();
Mesh1P->AttachTo(PawnMesh1p, AttachPoint);