setMass method

void setMass(
  1. double m
)

Set the mass of the body.

Implementation

void setMass(double m) => _body.setMass(m);