[ODE] geoms having the same position

Jon Watte (ODE) hplus-ode at mindcontrol.org
Tue Oct 4 12:43:02 MST 2005


> This should be a very common situation. I don't understand how ODE
> cannot cope with this.

ODE copes with this just fine, by giving you the primitives you need to 
solve this problem. It can't know what you intened these objects to do; 
only you know that.

Typically, what you do is put all the things that shouldn't 
self-intersect in one space (static geometry), and all the things that 
should intersect in another. Then you use dSpaceCollide2() to collide 
the two spaces against each other, and after that use dSpaceCollide() to 
collide the self-intersecting geoms against each other.

Cheers,

			/ h+



More information about the ODE mailing list