[ODE] weight distribution in box
THD
apt at home.se
Wed Mar 2 16:14:03 MST 2005
Something like that maybe, I don't know, I use it to lower the centre of
gravity of my vehicle and it works for me.
/Sepultang
----- Original Message -----
From: Bram Stolk <bram at sara.nl>
Date: Wed, 02 Mar 2005 14:15:53 +0100
> 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