Parameters
Whenever code should alter a parameter in the animation blueprint, add the parameter to VHAnimInstance.h
. You can also see available parameters here, that you might want to edit.
Playing Animation Montages
When playing an animation montage, make sure the appropriate slot is selected. With slots, it is possible to combine two or more animations. E.g. playing a waving animation, while walking. To do this, it is necessary to define, which bones each animation affects. This is where slots come into play. For the Henry Skeleton, 4 groups have been defined, with a corresponding slot for each group. The following table shows the available slots, along with the uppermost bone, they affect.
Slot | Bone | Remarks |
---|---|---|
DefaultSlot | root | This replaces animations of the Default state machine. Walking will not work! |
UpperBodySlot | spine_01 | |
LowerBodySlot | thigh_l and thigh_r | |
FaceSlot | neck_01 |
It was necessary to create different groups instead of just slots as it is not possible to play 2 Animations at the same time, that belong to the same group. It should however be possible to play 4 different animations at the same time: default, upper body, lower body and face.