[ODE] static objects

Arturo Colorado Garín acolorado at telefonica.net
Sun Feb 20 17:30:02 MST 2005


> But how do I position and rotate geoms? Seems I must associate a body
> with them to do that, then they will be affected by gravity and collide
> with my big trimesh.

No, you have to associate the geoms to the bodyID = 0 with 
dSetGeomBody(dGeomID, 0). That is, no body associated to the geoms. To 
position and rotate geoms use the geom functions dGeomSetPosition() and 
dGeomSetRotation() / dGeomSetQuaternion().

Cheers,

--Arturo Colorado



More information about the ODE mailing list