public Vector3 CoulombForce(Atomic atom) { float charges = NetCharge() * atom.NetCharge(); Vector3 dist = transform.position - atom.transform.position; float distSqr = dist.sqrMagnitude; return((0.001f * charges / distSqr) * dist.normalized); }