[ODE] A (hopefully) simple collision response question

Nate W coding at natew.com
Mon May 13 01:38:12 2002


On Sun, 12 May 2002, Glenn Watson wrote:

> 		dJointAttach(c, dGeomGetBody(contacts[i].geom.g1),
> dGeomGetBody(contacts[i].geom.g2));

Try:

dJointAttach (c, dGeomGetBody(o1), dGeomGetBody(o2));

I'm not real optimistic about this solving your problem, since it kinda
looks like your code ought to result in the exact same information being
passed to dJointAttach, but that's all I could come up with after
comparing your callback code to mine. 

-- 

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