I am seeing here I can add unique surface types for any material: Add a Surface Type | Unreal Engine Documentation
How would I check if the surface that the trace hit is of a certain type ? Thanks.
I am seeing here I can add unique surface types for any material: Add a Surface Type | Unreal Engine Documentation
How would I check if the surface that the trace hit is of a certain type ? Thanks.
You can do this with the physics material. Break your hit result and look at the value of “Phys Mat”
How do I do “break your hit result”? I thought trace hit returns physics material parameters already. I am new to BP and UE4, sorry
Drag the pin off the hit result and click “break hit result” or you can just right click on the pin and split the nodes on that too I think, not sure with the hit result 1
Drag off the Hit pin and type in Break into the context menu and then Break Hit Result. From there you can get actors, locations, normals, physical materials, etc.