[ODE] dMassSetBox
Megan Fox
shalinor at gmail.com
Tue Mar 8 14:22:06 MST 2005
The mass is independant of what geoms you attach to the body. I tend
to define everything via box masses, simply because it's more
convinient, and I've never really seen any glitches come of it.
-Megan Fox
On Wed, 9 Mar 2005 01:15:52 +0530, Kuldip <kuldip at cse.iitk.ac.in> wrote:
>
> Hi all,
>
> If I write ...
>
>
>
> dMassSetBox (&m, 1 ,SIDE1,SIDE1,SIDE1);
>
> dMassAdjust (&m,MASS);
>
> body[1] = dBodyCreate (world);
>
> dBodySetMass (body[1],&m);
>
> BodyParts[1]=dCreateCCylinder (space,SIDE1/2,SIDE2);
>
>
>
> then what would be the mass of the cylinder? Take SIDE1=2. and SIDE2=4.
>
> It will be MASS kg or MASS*(Volume of Cylinder/Volume of Box having
> all sides=SIDE1) ?
>
> Thanks
> Kuldip
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
>
More information about the ODE
mailing list