Thanks Ichiro,

Yes, the formula only considers collisions with static entities at the moment, so there are no incoming componets. I want make sure I've this working first.

Moment of Inertia is really beating me up. There are about a hundred different formulas for it, all very different, and none of them looks quite right.

I tried yours: moment_of_inertia = my.mass / ((4/3)*pi*pow(diameter,3));
Howver, that gives a huge value, and consequently no noticable angular velocity was added to the object.

I also tried these ones from your links:

Quote:

because of the symmetry of the sphere, each principal moment is the same, so the moment of inertia of the sphere taken about any diameter is I = 2/5mR^2




moment_of_inertia = 2/5 * my.mass * pow(diameter,2));

This gave it too much angular velocity.

Quote:

The moment of inertia of a sphere of uniform density and radius R is
I = (8/15) * pi * density * R^5



moment_of_inertia = (8/15)*pi* (my.mass/((4/3)*pi* pow(radius,3));

Again, it span out of control.


At the moment the only objects collided with are static, like the ground or buildings.

Last edited by A.Russell; 04/03/06 05:36.