czaloj / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Wrong computation of moment of inertia for convex triangle mesh #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The method btConvexTriangleMeshShape::calculatePrincipalAxisTransform computed 
the moment 
of inertia relative to the original coordinate system of the mesh and not 
relative to the center of 
mass.This is fixed by the attached patch.

Original issue reported on code.google.com by ol...@arcor.de on 22 Oct 2008 at 9:32

Attachments:

GoogleCodeExporter commented 9 years ago

it has been fixed:
http://code.google.com/p/bullet/source/detail?r=1419

Thanks for the contribution,
Erwin

Original comment by erwin.coumans on 27 Oct 2008 at 9:46