[ODE] Trimesh problems

gl gl at ntlworld.com
Tue Jan 10 04:53:02 MST 2006


Just looked at my old code.  It basically finds the point on the triangle 
closest to the sphere, computes the distance between them, and if an 
 intersection has occurred ()ie. the distance is smaller than the sphere's 
 radius) computes the normal like this:
 
 new_contact->normal = closest - sphere_pos;
 
 BTW, yes, my tris were very large.
--
gl 



More information about the ODE mailing list