var bodies = get_colliding_bodies()
for body in bodies:
if body.is_in_group("Blocks"):
body.queue_free()
I am making a Breakout,
In the current code, when trying to determine the hit of a block,
In addition to not hitting at all, the following error comes up and it is troubled.
This the Error:
ERROR: RigidBody2D::get_colliding_bodies: Condition ' !contact_monitor ' is true. returned: Array()
At: scene\2d\physics_body_2d.cpp:785