Lets assume the setting is multiple civilizations all around the universe, each owning at least one of a planet, a huge mother space ship or a space fleet.

If for some reason there would be a conflict between two factions, how much sense would classical firearms (guns, assault rifles, ...), as we know them, in gravity-free zones do? If we watch [this video](https://www.youtube.com/watch?v=uYEteSfnObc), the last statement is "to be careful where you shoot, because you may end up hitting yourself" (due to the gravitational force of planets) - **or your allies**, in my case. So would it be logical, if classical firearms would not be "allowed" in space-fights, because of that?

Would it make more sense to rely on classical swords and/or [martial arts](https://worldbuilding.stackexchange.com/questions/45891/styles-of-melee-combat-developed-in-microgravity)? Or generalized, what **other weapons** (maybe some that I have not mentioned) or **techniques** could be used to fight your enemies?

Maybe you could avoid fighting in space, but there are always troublemakers, fight-hungry factions, not?