I make many animations with my speed cubes. So I'm wondering if it is possible to rig the cube in a way that if I want to rotate the left side (L) it will select all the objects on the left side and just like the video below shows if I wanted to then rotate the top layer (U) it will select only the objects that are currently on the top layer.
As you can see, I'm showing with the arrow that the one piece changes orientation but also would be considered a top layer piece even though it's on the left side when I'm wanting to only rotate the top layer. I know I can just select the pieces from each side and animate them like anyone else would, but I do this a lot and I figured if it can be rigged then maybe it will speed up my process and make things easier because I do animate several speed cubes.
For example, a rig that will select any pieces that are on the side I choose and will rotate the whole side. Just like this video below. If I select one of the 2 wireframe objects I put in place, it will know to only select the objects that are within the boxes and I can control the rotation of those pieces. But I wonder if it matters that the cube pieces origin is all set to the center, so could I still set something up like this even if the cube pieces origins are not within the wireframe box?