I’m trying to access the physics material from some static mesh component by calling:
MeshComponent->GetBodySetup()->GetPhysMaterial();
but this results in a link error:
error LNK2019: unresolved external symbol "public: class UPhysicalMaterial * __cdecl UBodySetup::GetPhysMaterial(void)const " (?GetPhysMaterial@UBodySetup@@QEBAPEAVUPhysicalMaterial@@XZ)
Is there a work-around or fix for this?