state the factor that affect the gravitational force