The condition of weightlessness is not the absence of gravity, but the absence of a support force.