How to Rotate Hinge Joint 2D Without Affecting the Connected Rigidbody?

Tried to use motor and limits, but neither of them worked, connected rigidbodies always rotating together like in the image. I want only the second part to move, how can I achieve this?

151472-hjoint2d.png

Technically, this is impossible as the bottom corner of the rectangle you are trying to rotate would dig into the ground. However, it may be possible to use constraints (located under your rigidbody 2d panel).
Good luck :slight_smile: