cannot convert from 'USkeletalMesh *' to 'USkeletalMeshComponent *'

How do you convert like its recommending?

“1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast”

WeaponMesh->SetSkeletalMesh(CrosshairTextObj.Object);

That should do the trick for ya. You were trying to set the whole component to the mesh, whereas you needed to set the mesh of the component.

thank you so much ! :slight_smile: i dont know how i missed that! geeze i feel stupid now . Mark as resolved! :smiley:

Anytime :slight_smile: And don’t worry, we’ve all done it :slight_smile: