By adding up all the individual forces of the object
I would say mass, and weight.
Protons, electrons, and neutrons. The nucleus (center) of the atom contains the protons (positively charged) and the neutrons (no charge).
usually gravity is what causes us to make us weigh more or less depending on which planet we are on
Assuming this is an elastic collision, they go in the direction of the object with more mass