/** Set mass, it will change the body's mass this shape attaches */ /** Set mass, it will change the body's mass this shape attaches */ public void SetMass(float mass) { if (mass < 0) { return; } if (_body != null) { _body.AddMass(-_mass); _body.AddMass(mass); } ; _mass = mass; }