Storing custom data in every uobject

i have characters programed in cpp normal class not uclass and they are making its own USeneComponent or one of its inhertence…
but if i would to trace something like a bullet and then ue4 will send me hit result have a UPrimitiveComponent…
but i cant access the character cpp class that had made UPrimitiveComponent…
so if there was away to store pointer or struct that contain my cpp class within the USenceComponent…