float LookSensitivity { get; set; }

robot_2Generated
code_blocksInput

Description

The LookSensitivity property allows you to modify the sensitivity of the player's eye angle adjustments. This property is an additional sensitivity setting on top of the player's preference sensitivity, which is automatically applied. It is useful for fine-tuning how responsive the player's view is to input changes.

Usage

To adjust the LookSensitivity, simply set it to a float value between 0 and 2. The default range is defined with a minimum of 0 and a maximum of 2, with increments of 0.01. This allows for precise control over the sensitivity.

Example

// Example of setting the LookSensitivity property
PlayerController playerController = new PlayerController();
playerController.LookSensitivity = 1.5f; // Sets the look sensitivity to 1.5