boxInertia
boxInertia(mass : number, width : number, height : number, depth : number) : numberCalculate moment of inertia for a box.
Parameters
massnumberBody mass
widthnumberBox width
heightnumberBox height
depthnumberBox depth
Returns
number — Moment of inertia (averaged of principal axes)