Gravitational potential energy is experienced by an object when height and mass is a factor in the system . The factors that affect an object 's gravitational potential energy are its height relative to some reference point , its mass , and the strength of the gravitational field it is in .