foxbat
06-01-2007 08:07:34
Hi.
I'm using the new heightfield optimizations for ODE, and I've discovered a strange potential bug. I'm not sure if this is a problem with the new optimized heightfield code or not, but I don't remember it ever occurring with the unpatched code.
The problem is that if a ray has either it's x or z (or both) components of it's direction set to zero, no collision will be detected. Maybe this has something to do with the AABB of the ray having a 0 length dimension in these cases.
Can anyone confirm this issue?
I'm using the new heightfield optimizations for ODE, and I've discovered a strange potential bug. I'm not sure if this is a problem with the new optimized heightfield code or not, but I don't remember it ever occurring with the unpatched code.
The problem is that if a ray has either it's x or z (or both) components of it's direction set to zero, no collision will be detected. Maybe this has something to do with the AABB of the ray having a 0 length dimension in these cases.
Can anyone confirm this issue?