When can an object be considered weightless but still have a gravitational force on it?