calculateMassInfo method

  1. @override
void calculateMassInfo(
  1. MassInfo out
)
override

Calculate the mass information of the shape.

Implementation

@override
void calculateMassInfo(MassInfo out ) {
  out.mass = density;//0.0001;
  double inertia = 1;
  out.inertia.setValues( inertia, 0, 0, 0, inertia, 0, 0, 0, inertia );
}