[ODE] recalculating mass properties(inertuia tensor.. etc.) when changing geom properties

Adam D. Moss adam at gimp.org
Mon Jan 31 17:51:53 MST 2005


Sergey Beloshitsky wrote:
> I have one question,maybe it is obvious but..after all. If i, for 
> example, changed liengthes of my box using dGeomBoxSetLengths do i need 
> explicitly recalculate mass for it (i mean inertia tenzor, center of 
> mass...) using dMassSetBox

Yes... geoms don't know anything about mass, that is a property
of bodies.

--Adam


More information about the ODE mailing list