[ODE] Collide ray class

Bram Stolk bram at sara.nl
Thu Aug 3 00:57:41 MST 2006


German Castro Donoso wrote:

> i'm sure that i have at least one ray, but never ocurrs that
> dGeomGetClass(in_o2) == dRayClass || dGeomGetClass(in_o1) == dRayClass
> in the callback function
> 
> My ray geoms are created same other geoms, but only rays not collide.
> 
> Any idea?

You are not using GeomTransforms are you?
When using those, depending on how you set the 'Info' attribute,
the callbacks gets either only the trf, or only the encompassed geom.

 Bram

> 
> PD: Sorry, my english isn't good.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode


-- 
Bram Stolk, VR Engineer SARA, Amsterdam.   tel +31 20 592 3000

"Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit 
 operating system originally coded for a 4-bit microprocessor by a 2-bit 
 company that can't stand 1 bit of competition."


More information about the ODE mailing list