Game Development Reference
In-Depth Information
Creating a custom animation - leaning
Custom animation is the concept of directly manipulating the bones of a character's skelet-
on to create animations. We will explore this by making a control that can be used together
with Chapter 2 , Cameras and Game Controls . Together with this recipe, leaning can be
used on characters other than the player and in networked games.
Jaime leaning to the left
As in Chapter 2 , Cameras and Game Controls , we have two ways to handle leaning: one is
by using a key to lean toward the left and another to lean toward the right. The second one
is to press a button and lean in any direction using the mouse, which is more common in
computer games.
Search WWH ::




Custom Search