skapunch/box2d

b2EdgeShape::RayCast normal

Closed this issue · 3 comments

What steps will reproduce the problem?
1. Add b2EdgeShape to RayCast test.
2. Run RayCast test.
3. Add edge shapes.

What is the expected output? What do you see instead?
The ray cast normals should be perpendicular to edge shape.  Instead, the ray 
cast normals are often not perpendicular.

What version of the product are you using? On what operating system?
Latest version as of this writing (r262).  Windows 7 64 bit.

Please provide any additional information below.


Original issue reported on code.google.com by isaacbu...@gmail.com on 26 Oct 2013 at 6:51

[deleted comment]
I've attached a proposed fix.

Original comment by isaacbu...@gmail.com on 26 Oct 2013 at 6:56

Attachments:

Fixed. Thanks for the report!

Original comment by erinca...@gmail.com on 29 Oct 2013 at 4:16

  • Changed state: Fixed