[ODE] dMassTranslate

Jon Watte (ODE) hplus-ode at mindcontrol.org
Thu Jun 1 15:34:39 MST 2006



Mauro G. Todeschini wrote:
> Hi,
> 	I've tryed to use dMassTranslate to translate the mass of a cylinder
> but my body doesn't react in the expected way.
>   

The center of mass is always coincident with the center of a body. The 
"offset" part of a dMass struct is ignored by the body. Instead, you 
have to counter-offset the body coordinates when assigning the mass.

Cheers,

       / h+



More information about the ODE mailing list