ball.moi

Syntax

f = ball.moi(b)

Get the ball moment of inertia.

As balls are symmetric, the inertia tensor is diagonal and uniform. Thus the moment of intertia can be represented by a single value.

Returns:f - ball moment of inertia
Arguments:b - ball pointer