[ODE] Get the normal of a triangle in Trimesh-Ray collision

james at 6msoft.com james at 6msoft.com
Thu Nov 6 08:49:26 MST 2003


I cannot seem to obtain a normal of the triangle I collide with. All I get
is random chode values.

dCollide(trimesh, ray, ...) gets me chode values

dCollide(ray, trimesh, ...) gets me the normal of the ray

Im pulling the normal out of contact::geom::normal

Is this a bug? Is there something im doing wrong? Either way, any
suggestions?

-James


More information about the ODE mailing list