Zoom

The Zoom module changes the distance of the camera from the pivot point. This module is used for most third-person camera systems even if the player can't actively change the zoom distance—the module is still required to pull the camera behind the player.


🔍 Settings

The following settings are available to customize:

  • Input Axis: The input axis to change the camera zoom.

  • Distance Range: The minimum and maximum distance of the camera from the pivot point. Set the min and max to the same value for a fixed zoom distance.

  • Initial Distance: The initial distance of the camera from the pivot point.

  • Smoothing: How quickly the camera zoom changes to the intended distance. Larger numbers make the camera zoom more smoothly.

  • Transition Duration: The amount of seconds it takes to transition zoom distance when the camera profile is changed. For example, this is used when transitioning from first-person to third-person, or vice versa.

  • Increment: Aligns the camera zoom to set increments.


🧰 Scripting API