Why can't my line trace get the Physics Material?

Finally, it works! Thanks a lot for helping!