No subject


Tue Nov 15 16:38:34 MST 2005


TIA
Osman

bool csODERigidBody::AttachColliderPlane (const csPlane3& plane,
  float friction, float density, float elasticity)
{
  dSpaceID space = dynsys->GetSpaceID();
  dGeomID id = dCreatePlane (space, plane.A(), -plane.B(), plane.C(), plane.D());

  dGeomSetBody (id, bodyID);  <<----------------- here??? 

  float *f = new float[2];
  f[0] = friction;
  f[1] = elasticity;
  dGeomSetData (id, (void*)f);

  return true;
}




More information about the ODE mailing list