I want to rotate the 8 cubes using the center red cube. (The top surface.) Just like a Rubik’s cube. But how do I do it? (The center red cube doesn’t have to rotate)
I tried adding the 8 cubes as a child to the center red cube. But if I addChild, the 8 cubes position changes, and I don’t want that.