[ODE] weight distribution in box
Bram Stolk
bram at sara.nl
Wed Mar 2 14:15:53 MST 2005
THD wrote:
> I simply use dMassTranslate when setting the mass, here I lower the
> centre of mass by 1.
>
> dMass m;
> dMassSetBox(&m, 1, length, width, height);
> dMassAdjust(&m, 5);
> dMassTranslate(&m, 0.0, -1.0, 0.0); //centre of mass
> dBodySetMass(bodyId, &m);
Ok, ill try this, but strictly speaking... doesnt this mean
that you will have some mass defined outside the geom?
If so, is this bad for the simulator?
bram
More information about the ODE
mailing list