Changes the friction of a physics object.