float AimBodyWeight { get; set; }

robot_2Generated
code_blocksInput

Description

The AimBodyWeight property represents the weight of the aim angle specifically for the Citizen's body. This property is used to determine how much the body should align with the aim direction, allowing for more realistic and dynamic animations when the character is aiming.

Usage

To use the AimBodyWeight property, you can set it to a value between 0 and 1, where 0 means the body does not align with the aim direction at all, and 1 means the body fully aligns with the aim direction. Adjusting this value can help achieve the desired animation effect for your character's aiming posture.

Example

// Example of setting the AimBodyWeight property
var animationHelper = new CitizenAnimationHelper();
animationHelper.AimBodyWeight = 0.75f; // Set the body to align 75% with the aim direction