how to make advanced raycast

that can travel through staircases, etc
Continue to help post