[ODE] space collision
Jon Watte
hplus-ode at mindcontrol.org
Mon Jul 19 01:49:43 MST 2004
You just have to cast -- a dSpaceID is a dGeomID, but there's
not enough type information available to the compiler for it
to tell automatically, so you have to tell it.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Lukas
Toenne
Sent: Sunday, July 18, 2004 1:56 AM
To: ode at q12.org
Subject: [ODE] space collision
How does colliding spaces work with the new API ? In the docs it says that the
collision functions take either geoms or spaces as arguments ("If a space is
passed as o1 or o2 then ..."), but my compiler keeps telling me
error: cannot convert `dxSpace*' to `dxGeom*' for argument `2' to `
int dCollide(dxGeom*, dxGeom*, int, dContactGeom*, int)'
when i pass a dSpaceID instead of a dGeomID.
What do i have to do ? Are there tutorials/examples using the new API ?
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list