How to make a joint not pass a rotation

Godot Version

4.2

Question

I have a rigid body that is connected to a groove joint and I’m rotating it using angular velocities, the problem is that if the object is put under the weight of an other rigid body, it phases through the line static bodies 2d placed as limits.
How can I solve it?

Can you show what is going on, or explain in a different way maybe?
You are rotating the body and you are pushing it. It is phasing because you are pushing it. What do you mean by “make joint not pass a rotation”?

actually the problem was that the bias of the groove joint was set to 1. Anyways tahnk you for responding and I think that joints 2d are extemely buggy.