This project has moved and is read-only. For the latest updates, please go here.

Polygons + Inertia - Thanks BioSlayer and crashlander!

Dec 21, 2007 at 1:13 AM
Sweet mother of physics,

I found the Vertices.CalculateMomentOfInertia() function by searching the forums and now my poly shapes are working!

Just wanted to give my thanks and make it a little more visible for newbies.

Dec 21, 2007 at 5:38 PM
Yes, that is a helpful method. Thanks again BioSlayer.

I have some plans to add some new overloads to the Body and Geom Factories to more incorporate this method.
Dec 22, 2007 at 1:01 AM
It could also be useful to include a function to center an object on its centroid (assuming constant density)

I have some functions to calculate the centroid and area if it would help.
Dec 22, 2007 at 3:51 PM
Yes, that is also in the plan. There is a compute centroid method in the vertices object.