Event hit on Physical material


I have one problem.

I have projectile and I want to check what was hit.

I have physical “Body” and “Head” and after projectile hits enemy then I need to check what material was hit.

My code do not work because I dont know how to continue with my code.

Thanks for help in advance.