are you retarded....?  the heart pumps blood, not gravity. a boner traps blood inside the cock from the bloodstream. you absolutely can get a boner in space. probably easier as the heart doesn't have to pump to overcome gravity so less stress in cardio vascular system.
United Kingdom