Eyeline Adjustment

The Eyeline Adjustment module adjusts the position of the camera to match the eyeline of the character. One benefit of this is the camera will adjust accordingly any time the character collider changes. For example, if the character crouches, then the camera will also move down to match the character's crouch height.

Note: The Camera Controller must have a tracking target assigned with either a CharacterController or Collider component attached to it.


👀 Settings

The following settings are available to customize:

  • Eyeline Height: The distance from the ground to the character's eyeline as a percentage of the character's height.

  • Smoothing: How quickly eyeline adjustments are made. Larger numbers make the camera adjust more smoothly.


🧰 Scripting API