how to attach a weapon to character

use AttachTo Method In USkeletalMeshComponent Class.

Like this :



FName AttachPoint = GameCharacter->GetWeaponAttachPoint();
Mesh1P->AttachTo(PawnMesh1p, AttachPoint);