Collision Rigid Body 2d and Collision shape @2d

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mifista

I do air hockey and ran into a problem. When I pinch a puck in two walls with a stick, the puck goes through the wall. I wanted to use a kinematic body instead of a rigid body, but then I can’t detect a collision using move_and_collide(). Is there any way to use a rigid body and fix this problem?