SetMass(obj, float) Sets the mass of object. void setMass(this obj object, float mass) Parameters object Type: obj mass Type: float The new mass of object (the default values is determined by the volume of object's collider).