I decided to use Box2d in a project. I started with a little code to create a representation of a quadratic Bezier curve with 2 vertex polygons. Circles collide with the curve as expected but boxes do not.
The behavior varies a little bit between the versions. I've used this on box2d version 2.0, 2.1, 2.1.2, and the latest from SVN.
On all but the latest from SVN the box freezes the moment it collides. From that point on collisions with the box with other dynamic bodies are strange. They can pass through the box partially but are then shot out of the box at high speed. On the SVN version the entire engine freezes the moment the box collides with the bezier curve.
I suspect that because this behavior is present in all versions that it's likely a bug in my code. Regardless I reproduced the problem in the testbed so that someone might be able to help me.
Press 'c' to drop a circle. Observe that it collides correctly. Press 'b' to drop a box. Observe that it freezes.
Thanks
The behavior varies a little bit between the versions. I've used this on box2d version 2.0, 2.1, 2.1.2, and the latest from SVN.
On all but the latest from SVN the box freezes the moment it collides. From that point on collisions with the box with other dynamic bodies are strange. They can pass through the box partially but are then shot out of the box at high speed. On the SVN version the entire engine freezes the moment the box collides with the bezier curve.
I suspect that because this behavior is present in all versions that it's likely a bug in my code. Regardless I reproduced the problem in the testbed so that someone might be able to help me.
Press 'c' to drop a circle. Observe that it collides correctly. Press 'b' to drop a box. Observe that it freezes.
Thanks