cylinderInertia

@three-blocks/pro
cylinderInertia(mass : number, radius : number, height : number) : number

Calculate moment of inertia for a cylinder/capsule.

Parameters
massnumber
Body mass
radiusnumber
Cylinder radius
heightnumber
Cylinder height
Returns
number — Moment of inertia (averaged)