[ODE] dMassSetCylinder() and dMassSetCone()

Martin C. Martin martin at metahuman.org
Wed Jul 23 19:18:01 2003


Are you comfortable with multivariable calculus?  Because if so, it's a
pretty simple integral....

- Martin 

Michael Bailey wrote:
> 
> Hi All,
> 
> I'm trying to duplicate the ODE mass functions for a (non-capped) cylinder
> and a cone.  The ODE mass functions have a lot of strange constants when
> calculating the "inertia matrix", of which I haven't a clue what's going on
> there.  Can anyone who understands what needs to be filled in the dMass
> struct, check these out and give me some feedback?
> 
> Thanks in advance!
> 
> Mike