Artificial gravity.
Having zero-g on spaceships is cooler anyway, but if it's deemed necessary to have gravity, there are two actual real science ways to produce artificial gravity, but instead the writers just pull magic out of their ass and have the gravity work like the spaceship is a ship on the ocean. It's incredibly stupid, 95% of sci-fi outside of books does it, and there is no excuse.
Having zero-g on spaceships is cooler anyway, but if it's deemed necessary to have gravity, there are two actual real science ways to produce artificial gravity, but instead the writers just pull magic out of their ass and have the gravity work like the spaceship is a ship on the ocean. It's incredibly stupid, 95% of sci-fi outside of books does it, and there is no excuse.