float AimStrengthBody { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The AimStrengthBody property of the PlayerController class determines how strongly the player's body turns in the direction they are looking. This property is useful for controlling the animation and movement of the player's body to align with their view direction, enhancing the realism and responsiveness of character control.

Usage

To adjust the AimStrengthBody, set its value between 0 and 1, where 0 means no body rotation towards the aim direction, and 1 means full rotation. This property is typically used in conjunction with other aim-related properties like AimStrengthHead and AimStrengthEyes to create a cohesive aiming animation.

Example

// Example of setting the AimStrengthBody property
PlayerController playerController = new PlayerController();
playerController.AimStrengthBody = 0.75f; // Set the body to turn 75% towards the aim direction