public void Restore(Rigidbody rb) { rb.mass = mass; rb.centerOfMass = CoM; rb.inertiaTensor = tensor; rb.inertiaTensorRotation = tensorRotation; }