setMass method

void setMass(
  1. double mass
)

Set the mass of this shape to have Chipmunk calculate mass properties for you.

Implementation

void setMass(double mass) => _shape.setMass(mass);