behdad / box2d

Automatically exported from code.google.com/p/box2d
2 stars 12 forks source link

Collision edge vs edge and chain vs chain. #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. While edge collide whith other edge box2d going to crash.
2. I didn't use chain shape but meybe it has the same problem.

3. When I changed b2BodyType from b2_kinematicBody to b2_staticBody assertion 
throw exception.
This assertion is in b2World.cpp in line 623. 
I commented out this line and box2d work correctly...(probably).

4. Why b2QueryCallback doesn't return fixtures of edges?

What is the expected output? What do you see instead?
Can you implement Edge contacts?
In the moment I wrote "if(!c) return;" in line 241 in b2ContactManager.cpp, but 
this it isn't a solution.

What version of the product are you using? On what operating system?
Box2d version 2.2.0 from svn, Windows 7

Please provide any additional information below.
Are you going to implement ellipse?

Original issue reported on code.google.com by XoLaM...@gmail.com on 27 Aug 2011 at 5:27

GoogleCodeExporter commented 9 years ago
Fixed in Rev 207.

Original comment by erinca...@gmail.com on 28 Aug 2011 at 10:10