How to line trace directly down?

It looks easy for me in first, but now I’v tried some ideas and nothing works and I can’t find anything about how to line trace down. So can you explain me how I can do it?

This is trace down, ie always down [0,0,-1] direction:

This is trace down but in down direction of actor, so relative to its orientation:

Thank you!