This is a self-answered question. While it might be pretty obvious, this still catched me by surprise, so I believe there is some value in this Q&A.
There is a player-controlled
RigidBody2D that gets stuck between two
As long as there is only a single collision between the
RigidBody2D and one of the
StaticBody2D's, it works mostly as expected (though I did notice high friction at certain angles, when sliding the
RigidBody2D alongside the edge of the
RigidBody2D gets stuck only if it touches both of the
StaticBody2D's at the same time (as in the image above). Sometimes the
RigidBody2D could be freed by the player using a high force, but sometimes not.
I made sure that friction for all bodies was set to
0.0, but the bodies still get stuck.