If the fighting in the new Star Wars film seems especially realistic, there’s a reason.