Rasagar/Library/PackageCache/com.unity.cinemachine/Documentation~/CinemachineBodyTransposer.md
2024-08-26 23:07:20 +03:00

3.3 KiB
Raw Blame History

Transposer

This Virtual Camera Body algorithm moves the Virtual Camera in a fixed offset to the Follow target. It also applies damping.

The fixed offset can be interpreted in various ways, depending on the Binding Mode.

Properties:

Property: Function:
Binding Mode The coordinate space to use to interpret the offset from the target.
Lock To Target On Assign Makes the orientation of the virtual camera match the local frame of the Follow target, at the moment when the virtual camera is activated or when the target is assigned. This offset remains constant in world space. The camera does not rotate along with the target.
Lock To Target With World Up Makes the virtual camera use the local frame of the Follow target with tilt and roll set to 0. This binding mode ignores all target rotations except yaw.
Lock To Target No Roll Makes the virtual camera use the local frame of the Follow target, with roll set to 0.
Lock To Target Makes the virtual camera use the local frame of the Follow target. When the target rotates, the camera moves with it to maintain the offset and to maintain the same view of the target.
World Space The offset is interpreted in world space relative to the origin of the Follow target. The camera will not change position when the target rotates.
Simple Follow With World Up Simple follow with world up interprets the offset and damping values in camera-local space. This mode emulates the action a human camera operator would take when instructed to follow a target. The camera attempts to move as little as possible to maintain the same distance from the target; the direction of the camera with regard to the target does not matter. Regardless of the orientation of the target, the camera tries to preserve the same distance and height from it.
Follow Offset The distance to maintain the Virtual Camera relative to the Follow target. Set X, Y, and Z to 0 to place the camera at the centre of the target. The default is 0, 0, -10, respectively, which places the camera behind the target.
X Damping How responsively the camera tries to maintain the offset in the x-axis. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly.
Y Damping How responsively the camera tries to maintain the offset in the y-axis. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly.
Z Damping How responsively the camera tries to maintain the offset in the z-axis. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly.
Pitch Damping How responsively the camera tracks the target rotations x angle. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly.
Yaw Damping How responsively the camera tracks the target rotations y angle. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly.
Roll Damping How responsively the camera tracks the target rotations z angle. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly.