[ODE] ray

Christian christian.muschick at gmail.com
Sun Jul 8 02:34:08 MST 2007


Gustavo Pessin wrote:
> hi,
> 
> how to get only the first contact point  when using rayclass?

dGeomRaySetParams(ray_id, false, true);
dGeomRaySetClosestHit(ray_id, true);


This also makes the ray collidier ignore backfacing triangles.

cm


More information about the ODE mailing list