Cannot get hit result on physics material

Hi, I am new and have been working at a solution for this for days but cannot seem to find one. I am in need of some help really.

My problem seems to be that I do not get a hit result with my line trace when introducing this function (circled in red – refer to screenshot)

When removing the function circled in red everything I have done so far works fine. Its when I introduce the Physics Material Surface Type Switch I cannot get a hit result.

I have setup my surfaces, physical skeleton receiving damage has ‘Body Shot’ and ‘Head Shot’ set accordingly to the bones I want.



Am I missing a setting somewhere? Seems to me like the Physics Materials I created for Bodyshot & Headshot aren’t applying to the physics skeleton since everything seems to work great prior to using the Physics Material Surface Type Switch.

I have also tried setting the skeletal mesh of the enemy I am firing a line trace at to ‘Return material on move’ but this did not resolve the issue.

Solved my issue it either was one of 3 things
-added condition for ‘has player tag’
-possibly my individual physics assets (not just physical skeleton) needed to also have the material over ride
-restarting unreal may also have solved the issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.