Description
The AimStrengthBody
property determines how strongly the player's body turns in the direction they are looking. This property is part of the aiming system and is used to control the animation of the player's body to align with the direction of the player's gaze.
Usage
To adjust the AimStrengthBody
, set its value between 0
and 1
. A value of 0
means no body rotation towards the aim direction, while a value of 1
means full rotation towards the aim direction. This property is useful for fine-tuning the player's animation responsiveness to aiming.
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