float AimEyesWeight { get; set; }

robot_2Generated
code_blocksInput

Description

The AimEyesWeight property represents the weight of the aim angle specifically for the Citizen's eyes. This property is used to control how much the eyes of the Citizen character should follow the aim direction. A value of 0 means the eyes do not follow the aim direction at all, while a value of 1 means the eyes fully follow the aim direction.

Usage

To adjust the AimEyesWeight, simply set it to a value between 0 and 1, depending on how much you want the Citizen's eyes to follow the aim direction. This can be useful in scenarios where you want to create a more realistic or focused look for the character when aiming.

Example

// Example of setting the AimEyesWeight property
CitizenAnimationHelper animationHelper = new CitizenAnimationHelper();
animationHelper.AimEyesWeight = 0.75f; // Set the eyes to follow the aim direction by 75%