Attaching a hitbox to the character's head

Any idea how this is done in C++? I cannot find a method that takes SkeletalMesh instead of SceneComponent