[ODE] Null Pointer...

Nate W coding at natew.com
Mon Jun 16 10:59:42 2003


On Mon, 16 Jun 2003, Marco Vienup wrote:

> geomB=dCreatePlane(space, a, b, c, d); 
> 
> const dBodyID b2=dGeomGetBody(geomB);
> 
> I become a null Pointer...? Can someone explain it ?

I don't think planes have associated bodies, instead they are always in
the same position and orientation.  But, in any case, no geom will have a
body associated with it until you call "dGeomSetBody (geom, body)"

-- 

Nate Waddoups
Redmond WA USA
http://www.natew.com