ChainShape in Box2D
问题 I recently began to learn libgdx and I am stuck at a problem with the CainShape of Box2D. My first goal is to simply create a box with a ChainShape. In order to achieve that, I added four Vector2 to an array and use them to create a loop. The result is depending on the arrangement in the array either an hourglass shaped thing (top left is connected with bottom right and top right is connected with bottom left) or the error Expression: b2DistanceSquared(v1, v2) > 0.005f * 0.005f This is the