Rotation Composer
This CinemachineCamera Rotation Control behaviour rotates the camera to face the Look At target. It also applies offsets, damping, and composition rules. It only rotates the camera, it never changes the camera's position. Examples of targets for aiming: the upper spine or head bone of a character, vehicles, or dummy objects which are controlled or animated programmatically.
Properties:
Property: | Function: | |
---|---|---|
Target Offset | Offset from the center of the Look At target, in target-local space. Use this to fine-tune the target's position when the point of interest is not the tracked object’s center. You can also use Scene Handles to modify this property. | |
Lookahead Time | Adjust the rotation based on the motion of the Look At target. The algorithm estimates the point that the target will be this many seconds into the future. This feature is sensitive to noisy animation. It can amplify the noise, resulting in undesirable camera jitter. If the camera jitters unacceptably when the target is in motion, turn down this property or animate the target more smoothly. | |
Lookahead Smoothing | Controls the smoothness of the lookahead algorithm. Larger values smooth out jittery predictions and increase prediction lag. | |
Lookahead Ignore Y | Enable ths to ignore movement along the Y axis for lookahead calculations. | |
Damping | How responsively the camera frames the target in horizontal and vertical directions. Use small numbers for more responsive, rapid rotation of the camera to keep the target in the dead zone. Use larger numbers for a heavier, more slowly-responding camera. | |
Screen Position | Horizontal and vertical screen position for the target. The camera adjusts to position the tracked object here. 0 is the screen center, -0.5 and 0.5 are the screen edges. | |
Dead Zone | The camera will not adjust when the target is within this range of the Screen Position. | |
Size | The width and height of the region where the camera will not respond to target movement, expressed as a fraction of screen size. This region is centered around the Screen Position. A value of 1 means full screen width or height. | |
Hard Limits | The camera will not allow the target to be outside of the hard limits. | |
Size | The size of the region in which the camera can place the target, expressed as a fraction of screen size. This region is by default centered around the Screen Position, but can be shifted using the Offset setting. A value of 1 means full screen width or height. | |
Offset | Shifts the hard limits horizontally or vertically relative to the Target Position. | |
Center On Activate | Rotates the camera to put the target at the center of the dead zone when the camera becomes live. |