Hello everyone. New to godot trying to make arkanoid game, had trouble with deleting brick on screen. I have scene with brick which i instantiate to main scene and duplicate to make more bricks. I tried to add them to group and nothing seems to work. It works if I type each brick as condition to collider but send an error, i guess because my bricks is from another scene and i instantiated them. It has to be another the way to delete the brick the ball collided with rather then just typing all of them in collider == $“…/Brick” or collider == $“…/Brick2” or collider == $“…/Brick3” or collider == $“…/Brick4” or collider == $“…/Brick5” How i can do that?
Wow somehow that works. I’m pretty sure i tried this before and it breaks only one brick, now all works the way it should be. Thank you for your help!
Collision is tough thing for me to understand now