[ODE] Bug in collision_cylinder_trimesh.cpp

Anton Savin anton at targem.ru
Thu Mar 30 23:09:53 MST 2006


Hello all,

I've found a bug in collision_cylinder_trimesh.cpp:
when cylinder intersects with too many triangles of trimesh (45 in my
case), application crashes because array
_sCylinderTrimeshColliderData::gLocalContacts becomes overflown.

In my code I increased constant gMaxLocalContacts from 32 to 128 and added
overflow checks everywhere, but is it correct?

-- 
Cheers,
Anton Savin



More information about the ODE mailing list