Curious Conundrums in Collision and Line Trace Detection

I’ve figured out this strange issue on my own. Since I’m working on a 2D game, when a brick collides, I set its Y-axis position to 0. However, other collision rays originate from the center of the brick, which is much higher on the Y-axis than 0. As a result, there’s a gap between the bricks on the Y-axis, but it’s not visible under an orthographic camera. It’s not that the rays hit with no response; they simply aren’t hitting at all.