private float CalcPeriod(float a, NBody centerMass) { // this equation has a G but we set G=1 float _period = 2f * Mathf.PI * Mathf.Sqrt(a * a * a) / Mathf.Sqrt(centerMass.mass); return(GravityScaler.ScalePeriod(_period));; }