C12- Rigging of Rubick’s cube
We have now seen how to create 3D models and how to apply materials to them. Now let us prepare for animation. We will use the key frame animation technique which we had learned before. Some objects need to be rigged before hand to animate them.
Q: Yes, you said that rigging is like the dashboard of a car and animation is like driving. If the dashboard is good, driving becomes easier.
In the same way if the rigging is good, it is very useful while animating. Let us take the example of a Rubik’s Cube. It basically is a square box, so animating it is not much difficult. You will be easily able to animate a simple cube, won’t you?
So while animating, the object’s Location, Rotation and Scale are of primary concern. When a object moves or rotates, its motions is around a particular axis. We have already seen that this is the pivot or origin of that object. In our cube, the origin is at the centre of the cube, this causes the cube to rotate around its centre. But, what if we move the origin point somewhere else?
Q: Will the cube rotate around a different point?
Perfect! Its like how a door revolves around its hinges. Hinges are not at the center of the door.
We will now see how the origin of the cube can be changed.
Once the origin point is shifted, the location, rotation and scale are considered from this point. So animation is also done from the new origin.
Q: Cool! This is fun. Object is placed somewhere and it rotates around something else.
We will use this method to animate our Rubik’s Cube.
You know that Rubik’s cube has a total of 26 smaller cubes.
(3 x 3 x 3 = 27 But we will exclude the center cube as in will not be visible)
Now animating a Rubik’s cube means to animate all these 26 smaller cubes. Now if you look closely, each small cube revolves around the center point of the Rubik’s Cube. It does not rotate around its own axis.
It means that if we move the origin of each small cube to the center of the main cube, then automatically all the cubes will revolve around the centre axis.
Q: So then if we animate them, it will look as if the Rubik’s cube is rotating.
Correct, you are right. You have understood very well. We will do it right away.
Rigging is done. Now if we animate 9 small cubes of one side, we will get our Rubik’s Cube animation.
You can animate cubes of different sides also using this method.
Got it? Wasnt it fun? If you are stuck at any point, do let me know. Lets meet next time.