Ignore collision based on position

Hi,

I’m making a brick breaker game with a twist and need to make it so that if the paddle and the ball collide while in the left half of the screen the ball bounces as normal but in the right side of the screen it goes through, like below:

85540-collision.png

I’ve managed something easily by scaling the collider mesh so it never goes past the middle but that only worked when my paddle was a box with a box collider.

Is there anything such as a collision mask? Or a way to ignore a collision if the hit point was between certain coordinates?

Thanks.

Another idea is to add OnTrigger colliders to both sides of the screen. If the Player is colliding with white AND the platform, ignore the platform.