behdad / box2d

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

Raycast closest point fail case #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the attached test.

What is the expected output? What do you see instead?
Returning 'fraction' from the ray cast callback's ReportFixture as in the 
testbed sample code should result in the closest point being found. Where 
multiple edge shapes or non-convex loop shapes are involved the closest point 
is sometimes not found.

What version of the product are you using? On what operating system?
r197, linux,mac,win

Original issue reported on code.google.com by iforc...@gmail.com on 10 Jul 2011 at 8:44

Attachments:

GoogleCodeExporter commented 9 years ago
Command: Commit  
Modified: D:\Development\Box2D\Box2D\Box2D\Collision\Shapes\b2EdgeShape.cpp  
Sending content: 
D:\Development\Box2D\Box2D\Box2D\Collision\Shapes\b2EdgeShape.cpp  
Completed: At revision: 200  

Original comment by erinca...@gmail.com on 22 Aug 2011 at 11:38