float AimStrengthHead { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The AimStrengthHead property of the PlayerController class determines how strongly the player's head turns in the direction of their gaze. This property is useful for animating the player's head to follow the direction they are looking, enhancing the realism of character animations.

Usage

To adjust the head's turning strength, set the AimStrengthHead property to a value between 0 and 1. A value of 0 means the head does not turn at all, while a value of 1 means the head fully turns in the direction of the player's gaze.

Example

// Example of setting the AimStrengthHead property
PlayerController playerController = new PlayerController();
playerController.AimStrengthHead = 0.75f; // Set the head aim strength to 75%