[ODE] colliding ray&sphere (noobie questions..?)

Michael Lacher michael.lacher at hlw.co.at
Thu May 15 02:22:02 2003


juhani honkala wrote:
> 
> 2. dSpaceCollide2 takes a dSpaceID as a parameter, how can I 
> convert a dGeomID to the dSpaceID, if the geom is space? 
> 
just use a plain C style cast:

dSpaceID spaceID=(dSpaceID)geomID;

mucki