Raycayst help needed! (c#)

I would like to know how can i Raycast from the head,torso and the legs of my character? (I would like to use the information that they give together in if statements)

Thanks to those who reply to my post :slight_smile:

            RaycastHit fromHead, fromBody, fromFeet;
            Physics.Raycast( head.position, head.forward, out fromHead );
            Physics.Raycast( body.position, body.forward, out fromBody );
            Physics.Raycast( feet.position, feet.forward, out fromFeet );

            if ( fromBody.collider != null || fromBody.collider != null || fromBody.collider != null ) {

            }