0
votes

enter image description here

The gravity is turned on. Other bodies like Polygonshape is behaving normally but my chainshape body just freezes to the position when it touches the ground.

1

1 Answers

0
votes

Short answer: Chain shapes aren't designed for full dynamics.

Longer answer: The box2d.org manual explains that Chain shapes are for constructing your static worlds. In this regard, Chain shapes are similar to Edge shapes:

they can collide with circles and polygons but not with themselves.

Furthermore, they're not designed for fully dynamic behaviors like shapes such as the Polygon shape.

Hope this answers your question.