0 votes

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 moveandcollide(). Is there any way to use a rigid body and fix this problem?
image: https://drive.google.com/file/d/1D0Sv5s-nr6AuH8D2w8gxU3dvrXl9CMrz/view?usp=sharing

Godot version 3,5
in Engine by (14 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.