Calculate Inertial Matrix of a Cylinder

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Calculate Inertial Matrix of a Cylinder

Postby Auradrummer » Sun Apr 05, 2009 10:21 am

Hello guys,

I needed to calculate the Inertial Matrix of a cylinder and wasn't easy to find the formula.
As I'm not aware of an automatic way of the engine to calculate, I thought that would be useful if I post it here to share with somebody else that may need it too.

Code: Select all
Ixx = mass * (pow(radius,2)/4 + 1/12) * pow(height,2);
Iyy = Ixx;
Izz = mass * pow(radius,2)/2;


That's it, here seemed to work well.
Developing a racing game.
Auradrummer
 
Posts: 132
Joined: Sat May 17, 2008 9:17 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 6 guests