Description
The AimHeadWeight
property represents the weight of the aim angle specifically for the Citizen's head. This property is used to control how much the head should follow the aim direction, allowing for more realistic and dynamic animations when the character is aiming.
Usage
To adjust the head's aim weight, simply set the AimHeadWeight
property to a value between 0 and 1. A value of 0 means the head does not follow the aim direction at all, while a value of 1 means the head fully follows the aim direction.
Example
// Example of setting the AimHeadWeight property
CitizenAnimationHelper animationHelper = new CitizenAnimationHelper();
animationHelper.AimHeadWeight = 0.75f; // Set the head to follow 75% of the aim direction