dont calculate gravity forces if constant is set to 0