[ODE] Modifying the hinge example to add collisions
Jon Watte
hplus-ode at mindcontrol.org
Mon Aug 23 08:43:35 MST 2004
Call dSpaceCollide on the space of the jointed bodies themselves,
in addition to the other collision you do.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of
join at krakendev.com
Sent: Sunday, August 22, 2004 3:38 PM
To: ode at q12.org
Subject: [ODE] Modifying the hinge example to add collisions
Hello,
I couldn't find this question elsewhere, and the sample that I think
would help, chain2, uses a direct interface to the world which I can't
duplicate.
Basically, I'm set up with a 6 geoms and the corresponding bodies in a
space. These are in turn split up into 2 groups of 3 bodies with 2 hinges.
The collision code from the buggy example serves me fine (save the low
number of contacts) for the two chains not falling through the ground.
However, I'm wondering how to enable this collision to extend to within
the jointed bodies as well. Any help would be greatly appreciated.
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list