Anyone else having trouble with Raycast and RaycastOne

I tried to base my code after the test bed example but I'm still getting incredibly random result from ray casting. Its hard to explain since I can't find any consistency in anything but I'm wondering if its a bug since TestSegment is working just fine.
Can you provide some more details about what you are seeing vs what you expect? What does your code look like?

Also, what version of Box2D are you using? Box2D.XNA from Codeplex is the latest C# port.

I've used Raycast from Box2D.XNA quite a bit in one of my recent projects and it works as I expect, also the Raycast test in the testbed shows that it works in that scenario as well.
I'm using Box2DX-2.0.1.3. It seems like the ray is testing shapes in the wrong direction and can only return a lambada of .5 or 1, I don't know why the testbed works and my code doesn't but I was able to make my own working version of raycast using World.Query Shape.TestSegment.
I just tried Box2D.XNA and was able to get raycasting to work properly so its 2 to 1 now.

Overall how does Box2D.XNA compare to BOX2DX, I do like how it gets rid of the old c style array passing when querying the world.
Box2D.XNA is in sync with the latest c++ revision, so it's a bit more up to date and is optimized for the xbox 360, so it doesn't create a lot of garbage (although not zero yet).

-Brandon
wondering if its a bug since TestSegment is working just fine.
gclub online

Original thread: https://box2d.org/forum/viewtopic.php?t=4300