3.0 KiB
3.0 KiB
Cinemachine Follow component
This CinemachineCamera Position Control behavior moves the CinemachineCamera to maintain a fixed offset relative to the Tracking Target. It also applies damping.
The fixed offset can be interpreted in various ways, depending on the Binding Mode.
Properties
| Property | Function |
|---|---|
| Binding Mode | How to use to interpret the offset from the target.
|
| Follow Offset | The desired offset from the target at which the CinemachineCamera will be positioned. Set X, Y, and Z to 0 to place the camera at the center of the target. The default is 0, 0, and -10, respectively, which places the camera behind the target. |
| Position Damping | How responsively the camera tries to maintain the offset in the x, y, and z axes. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly. |
| Angular Damping Mode | Can be Euler or Quaternion. In Euler mode, individual values can be set for Pitch, Roll, and Yaw damping, but gimbal lock may become an issue. In Quaternion mode, only a single value is used, but it is impervious to gimbal lock. |
| Rotation Damping | How responsively the camera tracks the target's pitch, yaw, and roll, when in Euler angular damping mode. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly. |
| Quaternion Damping | How responsively the camera tracks the target's rotation, when in Quaternion Angular Damping Mode. |