[Unity-Cinemachine Camera] Transposer attribute of camera following

Camera following and targeting behavior

Insert image description here

Transposer: The virtual camera will follow the target at a fixed offset or distance

Insert image description here

The above offset is Follow Offset

Insert image description here

Binding Mode determines whether the Follow Offset is ten meters behind the target in the local coordinate system or ten meters behind the world coordinate system.

  • Lock To Target On Assign: Lock the distance between yourself and the target local coordinate system, and the direction is the same as the target local coordinate system.

  • World Space: The coordinates at this time refer to the coordinates in the world coordinate system rather than the Follow target local coordinates. is locked to the position along Follow in the world coordinate system and then follows

  • Lock To Target With World Up: Rotate around the target's yaw axis, but the camera's own rotation will not change

Insert image description here

Yaw Damping: Set the delay of the camera rotation around the target

  • Lock To Target No Roll: The camera can rotate around the yaw and pitch axes of the aircraft, but cannot rotate around the roll axis.

Insert image description here

Set the rotation delay around the rotation and pitch axes

  • Lock To Target: You can rotate around three axes: yaw axis, pitch axis, and roll axis.

    Angular Damping Mode:

    • Euler: Euler angle, you can set the delay degree of the three axes yourself

    • Quaternion: Quaternion, three axes with the same settingInsert image description here

Insert image description here

  • Simple Follow With World Up: The camera will not rotate around any axis of the object, and try not to move laterally, that is, it will not move along the X axis.

Insert image description here

All rotations here do not refer to the rotation of the virtual camera itself but the rotation around the Follow target.

It is Look At and Aim that control the Rotation of the virtual camera itself. Follow and Body will only affect the Position.

Insert image description here

Damping coefficient: It can be understood as the delay of the camera. The smaller the coefficient, the faster the camera will react.

Guess you like

Origin blog.csdn.net/weixin_60154963/article/details/132686192