I put this together for fun, seems to work pretty well.
Basically what you’re wanting to do it cast a collision trace from the start of your view, out some distance along your aim rotation. Then see what it hits.
Left side gets the players location with eye height included, then gets the end of trace by creating a direction vector from his rotation and adds it to the actor location.
Make sure to set the Object Types array for whatever you’re looking to detect hitting.