static public int ResetCenterOfMass(IntPtr l) { try { UnityEngine.Rigidbody self = (UnityEngine.Rigidbody)checkSelf(l); self.ResetCenterOfMass(); return(0); } catch (Exception e) { return(error(l, e)); } }