How can I make objects rotate on another's center?

I’ve made a game where the player is made up of 4 cubes, 3 stacked onto one main cube. Whenever I test the game, the cubes only rotate on their own axis. How can I change this to make the 3 cubes rotate with the main cube’s center? The main cube is called Player1 and the other 3 are called Player.

Transform.RotateAround is what you are looking for …

Make othet 3 cube childern of cube1 or Player1
Or have a blank parent make them children and rotare that parent