[ODE] space collision

mouke at gmx.net mouke at gmx.net
Sun Jul 18 19:30:59 MST 2004


Just use dSpaceCollide2 when colliding spaces with something (see 
example in the docs).

Greets
Michael

> 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