[ODE] Hoser in collision_trimesh_ccylinder.cpp

John Miles jmiles at pop.net
Sun Jun 20 18:56:33 MST 2004


Line 965 of the current version needs to be changed from

	if (ctContacts>=(iFlags & NUMC_MASK))

to

	if ((ctContacts>=(iFlags & NUMC_MASK)) || (ctContacts >=
gMaxLocalContacts))

... or memory can get trashed if more than 32 contacts are requested from
dCollide().

-- jm



More information about the ODE mailing list