The fantasy characters in Grimm stories want to change their public image (which is slovenly, overweight, and aggressive).
They want to become more physically fit and friendly characters.
With this in mind, the Grimm community has joined together for a group exercise session.
Create a world with a scene similar to the one shown below.
All objects (other than props) should be instances of classes belonging to the Biped class hierarchy.
Here is an .mp4 file so you can see an example of what you should create.
The procedure for a knee bend is a bit more complicated than you might expect. This is because a knee bend is actually a combination of bending both knees and lifting both arms upward (for balance).
In this example, the numbers specifying the amount of rotation for the joints is arbitrary.
You may wish to experiment with other amounts to obtain a more realistic animation of a knee bend, although these amounts work fairly well.
This procedure has two basic parts – one part to bend the knees and one part to straighten up. You can take advantage of this in creating the code. Create the first do together code block for the downward knee bend and then hold down the ctrl key (alt on Mac) to drag a copy below to make the second code block. Then, in the second code block, reverse the motion (for example, change move down to move up) for each statement.
Do in order
//bend knees down
Entire body move down 0.125
Right and left hips turn backward 0.125
Right and left ankles turn forward 0.25
Right and left foot turn backward 0.15
Right shoulder turn left 0.25
Left shoulder turn right 0.25
//return to original position
Entire body move up 0.125 m
Right and left hips turn forward 0.125
Right and left ankles turn backward 0.25
Right and left foot turn forward 0.15
Right shoulder turn right 0.25
Left shoulder turn left 0.25
Save the Alice3 project as lastName_firstName_exercise.a3p. For example mary_smith_exercise.a3p