Determining "wall", "floor" and "ceiling" based on a slope angle and direction of normals?

Why would I get it, if only actual floor would have physical surface type, and rocks won’t ? Isn’t there a way to filter trace hit by physics material type ? Add new surface type to the material used on the floor and then do something like if (type == “solid” ), but in BP ? This way when trace hit the rocks, it would just ignore them since they don’t have surface type “solid”.

This kind of surface type I am talking about: Add a Surface Type in Unreal Engine | Unreal Engine 5.3 Documentation