Take a look at FCollisionQueryParams. There is a flag called bReturnPhysicalMaterial which defaults to false. In some places in code we set this to true, and you should be able to then get it directly from the FHitResult.
Hope that helps
Take a look at FCollisionQueryParams. There is a flag called bReturnPhysicalMaterial which defaults to false. In some places in code we set this to true, and you should be able to then get it directly from the FHitResult.
Hope that helps