shooting through - 1 collider, 2 hitmarks. How?

Hello, in my game I shoot to simple boxes (with box colliders). I’d like to achieve an effect of shooting through the boxes, but I can’t get the position of the second bullet hole (pink dot).

I’ve tried to use the second raycast (origin position of the red dot, direction of the first raycast), but it doesn’t detect collision.

How can I get the position of the pink dot?

Good question. I don’t think there is a way to hit both sides of the same collider. You can hit more than one with RaycastAll, but that would only help if you had more than one collider for the box, which may work. Have you tried a thin box collider per side and RaycastAll?