To control the character you need to use the mouse. For a correct display of the direction of an aiming, procedural animation is used. In this case, the character consists of components of the elementary form.
Further extreme provisions of the character gather: TopLeft, BottomLeft, TopRight, BottomRight, Center. To each situation there corresponds the situation to a mouse concerning the character.
Knowing extreme provisions each of a part, functions of distribution of each transform of property of each object are created (position, scale, rotation). Using data of function on coordinates of a mouse and coordinates of the character properties of transformation of each part of the character are calculated, and as a result yields good result.