BREAKOUT Project - Help with collision detection

To remove it loop through each one and check if it is touching the ball, if it is, then you should remove it.

You can loop through the same way as above

for ( PVector p : bricks )

1 Like