Hi,

I know that the rigidbody component calculates the inertia tensor automatically from the colliders attached on the object,

but I am trying to find an algorithm that does that as well for some other purposes.

so far I was able to write an algorithm that works with some shapes but not all shapes (specifically spherical shapes because of the integration over volume is different, it still thinks its a cubic shape)

so I was wondering if someone could help.

Thanks in advance.