Description
The AimStrengthHead
property of the PlayerController
class determines how strongly the player's head turns in the direction they are looking. This property is useful for controlling the animation of the player's head to make it appear more natural and responsive to the player's view direction.
Usage
To adjust the head turning strength, set the AimStrengthHead
property to a value between 0 and 1. A value of 0 means no head turning, while a value of 1 means full head turning in the direction of the player's view.
Example
// Example of setting the AimStrengthHead property
PlayerController playerController = new PlayerController();
playerController.AimStrengthHead = 0.75f; // Set head turning strength to 75%