Learn Alice in FREE step-by-step lessons.
Unit II: Creating Code

So far, we have moved the objects around using move, turn and roll. If we want them to walk, kick, or put their hands on their hips and say "How dare you!" we need to change the position of the subparts (elbow, hip, etc.)
An objects subparts can be positioned using turn and roll. (You cannot move a subpart as that would separate it from its body.)
Each subpart has its own orientation and sense of direction. The sense of direction for subparts may not be the same as its parent object.
Subparts can be positioned at design time in the scene editor or during execution using code.
In this lesson, you will learn to move and pose the Alice 3D characters and the subparts such as arms and legs.
You will do this in both the scene setup mode and using code.
In this chapter, you will learn how to create realistic poses for 3D characters by positioning subparts, such as the arms, legs, head, and hands. You will create poses using both the scene editor and program code and learn to position subparts using methods such as turn and roll. You will explore how subparts can be positioned during scene design as well as while a program is running. Because a subpart is connected to its parent object, you will learn why it should not be moved in a way that separates it from the body. You will also examine how each subpart has its own orientation and sense of direction, which may differ from that of its parent object. Finally, you will learn how several subparts can be coordinated to create more natural poses and complex character actions.
Objectives:
- Use tools in design mode to move, turn and resize the 3D actors in the design mode.
- Write code to move, turn and roll the characters.
- Use tools in design mode to turn and roll the subparts such as arms and legs.
- Implement OneShots to turn and roll the subparts such as arms and legs.
- Write code to turn and roll the subparts.
- Be able to create a pose using several subparts.
Please study the material at each of the links below.
Posing in Scene Editor: Learn to pose subparts in scene editor using handle tools.
Posing using One Shots: Learn to pose subparts in scene editor using One Shots
Opening and shutting a car door: Open the car door in scene view using one shots
Troll turns head: Use a variable for the amount to turn head, use it to turn to left and right.
Moving the arms: A biped's two arms are mirror images of each other.
Posing using code: Code is used to pose a subpart.
Moving the legs: Legs both descend down from the body
but are mirror images of each other from left to right.- Raising the leg: Try raising the other leg.
Hands on the head: Variables are used to make it easier to experiment- Using AI to create a pose: Ask AI, ChatGpt or other to create a pose
Self-Study Questions on poses: What have you learned?
Active Learning: Comic: Show what have you learned
Discussion questions on poses: What do you think?
Glossary for Posing Objects in Alice3
Full Glossary