Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by Hans » Fri Feb 04, 2011 2:36 pm
Hi
I have created body with single shape, ellipsoid with offset (0.0 0.025152 0.02) and radius (0.1875 0.125 0.25). Trying to raycast it does not call any callback. Debug display is ok, also collision with other geometry works.
I have managed to fix this by replacing ellipsoid with sphere (radius 0.25 0.25 0.25) and using non-uniform scale modifier, so consider it low-priority.
(I'm using build .29)
-
Hans
-
- Posts: 2
- Joined: Fri Feb 04, 2011 2:03 pm
- Location: Kraków, Poland
-
by Julio Jerez » Fri Feb 04, 2011 3:51 pm
Last time I cheked RayCast worked on all collision shapes.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Hans » Mon Feb 07, 2011 1:19 pm
I tried to isolate bug and provide simple test case scenario, but it seems to work correctly then. Looks like it happens only with very specific conditions. I will send some code when I finally reproduce bug (unless sending working binary is sufficient).
After little playing with parameter in my engine, I noticed that my "not working" ellipsoid is much smaller than appears in debug display, when raycasting, but perfect sphere in unaffected. Is code path different when NewtonCreateSphere has same radius along all axes? Can I somehow pass some invalid values that would affect ray-casting but not collision? (I got no asserts from debug build)
-
Hans
-
- Posts: 2
- Joined: Fri Feb 04, 2011 2:03 pm
- Location: Kraków, Poland
-
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 11 guests