[ODE] Composite objects

Hampus Soderstrom hampus at sxp.se
Thu Aug 18 17:33:43 MST 2005


Hi,

I'm trying to create a composite object consiting of two spheres  
sitting next to each other.

//pseudo code
dBodySetPosition(body1);

dGeomSetPosition(geom1, leftpos);
dGeomSetPosition(geom2, rightpos);

dGeomSetBody(body1, geom1);
dGeomSetBody(body1, geom2);

Both objects get the same position as the body though. How do I go  
about to place the geoms next to each other?

regards
Hampus





More information about the ODE mailing list